Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 108.3 kB / 19.71 MB, free: 436 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000982/0.000982, allocations: 213.1 kB / 23 MB, free: 2.957 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.091/1.091, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.608/2.608, allocations: 0.5701 GB / 0.876 GB, free: 16.52 MB / 0.6667 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der_m_flow|der_m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der_m_flow|der_m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 65.19 kB / 1.275 GB, free: 14.07 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3314, allocations: 196.8 MB / 1.467 GB, free: 3.773 MB / 1.135 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2): time 0.001947/0.3334, allocations: 1.358 MB / 1.468 GB, free: 2.406 MB / 1.135 GB Notification: Performance of NFInst.instExpressions: time 0.0007692/0.3341, allocations: 0.5545 MB / 1.469 GB, free: 1.852 MB / 1.135 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.3342, allocations: 0 / 1.469 GB, free: 1.852 MB / 1.135 GB Notification: Performance of NFTyping.typeComponents: time 1.949e-05/0.3342, allocations: 0 / 1.469 GB, free: 1.852 MB / 1.135 GB Notification: Performance of NFTyping.typeBindings: time 4.416e-05/0.3342, allocations: 7.938 kB / 1.469 GB, free: 1.844 MB / 1.135 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005859/0.3348, allocations: 155.4 kB / 1.469 GB, free: 1.691 MB / 1.135 GB Notification: Performance of NFFlatten.flatten: time 6.288e-05/0.3349, allocations: 27.92 kB / 1.469 GB, free: 1.664 MB / 1.135 GB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/0.3349, allocations: 4 kB / 1.469 GB, free: 1.66 MB / 1.135 GB Notification: Performance of NFEvalConstants.evaluate: time 2.45e-05/0.335, allocations: 19.92 kB / 1.469 GB, free: 1.641 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 5.557e-05/0.335, allocations: 11.92 kB / 1.469 GB, free: 1.629 MB / 1.135 GB Notification: Performance of NFPackage.collectConstants: time 9.268e-06/0.335, allocations: 0 / 1.469 GB, free: 1.629 MB / 1.135 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003301/0.3353, allocations: 311.4 kB / 1.469 GB, free: 1.324 MB / 1.135 GB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.3354, allocations: 15.97 kB / 1.469 GB, free: 1.309 MB / 1.135 GB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.3354, allocations: 11.94 kB / 1.47 GB, free: 1.297 MB / 1.135 GB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.3356, allocations: 139.6 kB / 1.47 GB, free: 1.16 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3356, allocations: 4 kB / 1.47 GB, free: 1.156 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3356, allocations: 3.938 kB / 1.47 GB, free: 1.152 MB / 1.135 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3356, allocations: 0 / 1.47 GB, free: 1.152 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003721/0.336, allocations: 305.8 kB / 1.47 GB, free: 0.8203 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.336, allocations: 11.98 kB / 1.47 GB, free: 0.8086 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.3361, allocations: 4.938 kB / 1.47 GB, free: 0.8047 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.665e-05/0.3362, allocations: 110.5 kB / 1.47 GB, free: 0.6719 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.3362, allocations: 4.375 kB / 1.47 GB, free: 0.668 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.3362, allocations: 8.375 kB / 1.47 GB, free: 0.6602 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.3363, allocations: 97.64 kB / 1.47 GB, free: 0.5469 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3363, allocations: 4.188 kB / 1.47 GB, free: 0.543 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.3363, allocations: 3.938 kB / 1.47 GB, free: 0.5391 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3363, allocations: 0 / 1.47 GB, free: 0.5391 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.816e-05/0.3364, allocations: 27.92 kB / 1.47 GB, free: 0.5117 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.3365, allocations: 113.3 kB / 1.47 GB, free: 380 kB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 9.252e-05/0.3366, allocations: 50.56 kB / 1.47 GB, free: 320 kB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.696e-05/0.3366, allocations: 32.84 kB / 1.47 GB, free: 284 kB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.3367, allocations: 0 / 1.47 GB, free: 284 kB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.3367, allocations: 34.5 kB / 1.47 GB, free: 240 kB / 1.135 GB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.3367, allocations: 0 / 1.47 GB, free: 240 kB / 1.135 GB Notification: Performance of matching and sorting (n=11): time 0.000913/0.3376, allocations: 455.9 kB / 1.471 GB, free: 15.73 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.3376, allocations: 55.34 kB / 1.471 GB, free: 15.66 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.827e-05/0.3377, allocations: 101.8 kB / 1.471 GB, free: 15.55 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.3377, allocations: 25.7 kB / 1.471 GB, free: 15.52 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 2.027e-05/0.3377, allocations: 80.14 kB / 1.471 GB, free: 15.44 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.3378, allocations: 43.48 kB / 1.471 GB, free: 15.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.3378, allocations: 29.7 kB / 1.471 GB, free: 15.37 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.008e-05/0.3379, allocations: 318.8 kB / 1.471 GB, free: 15.05 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.088e-05/0.3379, allocations: 16 kB / 1.471 GB, free: 15.03 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.042e-05/0.3379, allocations: 23.98 kB / 1.472 GB, free: 15.01 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.071e-05/0.338, allocations: 64.48 kB / 1.472 GB, free: 14.95 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.338, allocations: 0 / 1.472 GB, free: 14.95 MB / 1.151 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001049/0.3381, allocations: 97.62 kB / 1.472 GB, free: 14.84 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3381, allocations: 11.88 kB / 1.472 GB, free: 14.83 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3381, allocations: 0 / 1.472 GB, free: 14.83 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3381, allocations: 4 kB / 1.472 GB, free: 14.83 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.718e-05/0.3382, allocations: 23.98 kB / 1.472 GB, free: 14.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3382, allocations: 0 / 1.472 GB, free: 14.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.583e-05/0.3383, allocations: 4.094 kB / 1.472 GB, free: 14.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.3383, allocations: 7.938 kB / 1.472 GB, free: 14.79 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.911e-05/0.3383, allocations: 117.8 kB / 1.472 GB, free: 14.67 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.3383, allocations: 7.938 kB / 1.472 GB, free: 14.66 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.3385, allocations: 109.7 kB / 1.472 GB, free: 14.54 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3385, allocations: 3.984 kB / 1.472 GB, free: 14.54 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3385, allocations: 4 kB / 1.472 GB, free: 14.54 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.3385, allocations: 0 / 1.472 GB, free: 14.54 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/0.3389, allocations: 290.1 kB / 1.472 GB, free: 14.21 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3389, allocations: 0 / 1.472 GB, free: 14.21 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.162e-05/0.339, allocations: 23.98 kB / 1.472 GB, free: 14.19 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.339, allocations: 4 kB / 1.472 GB, free: 14.19 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.339, allocations: 0 / 1.472 GB, free: 14.19 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.339, allocations: 4 kB / 1.472 GB, free: 14.18 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.339, allocations: 0 / 1.472 GB, free: 14.18 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.3392, allocations: 223.3 kB / 1.472 GB, free: 13.95 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-06/0.3392, allocations: 3.953 kB / 1.472 GB, free: 13.95 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.3392, allocations: 7.969 kB / 1.472 GB, free: 13.94 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.161e-05/0.3392, allocations: 4 kB / 1.472 GB, free: 13.93 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.133e-05/0.3393, allocations: 7.984 kB / 1.472 GB, free: 13.93 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.3393, allocations: 4 kB / 1.472 GB, free: 13.92 MB / 1.151 GB Notification: Performance of sorting global known variables: time 2.207e-05/0.3393, allocations: 75.28 kB / 1.473 GB, free: 13.85 MB / 1.151 GB Notification: Performance of sort global known variables: time 5e-08/0.3393, allocations: 160 / 1.473 GB, free: 13.85 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0002151/0.3395, allocations: 59.8 kB / 1.473 GB, free: 13.79 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002134/0.3397, allocations: 158.9 kB / 1.473 GB, free: 13.62 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.3398, allocations: 59.86 kB / 1.473 GB, free: 13.57 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3398, allocations: 0 / 1.473 GB, free: 13.57 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 3.037e-05/0.3399, allocations: 27.98 kB / 1.473 GB, free: 13.54 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.34, allocations: 17 kB / 1.473 GB, free: 13.52 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.3405, allocations: 322.9 kB / 1.473 GB, free: 13.18 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.824e-05/0.3405, allocations: 71.33 kB / 1.473 GB, free: 13.09 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.3406, allocations: 15.44 kB / 1.473 GB, free: 13.07 MB / 1.151 GB Notification: Performance of SimCode: time 6.51e-07/0.3406, allocations: 0 / 1.473 GB, free: 13.07 MB / 1.151 GB Notification: Performance of Templates: time 0.002419/0.343, allocations: 1.364 MB / 1.475 GB, free: 11.71 MB / 1.151 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2 -emit_protected > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 8.76076799724251]