Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.0009879/0.0009879, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001115/0.001115, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 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 0.9833/0.9833, allocations: 177.1 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001694/0.001694, allocations: 233.8 kB / 260.5 MB, free: 12.68 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6927/0.6927, allocations: 138.4 MB / 455.5 MB, free: 29.98 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.5556 GB, free: 15.87 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.678e-05, allocations: 2.312 kB / 0.5556 GB, free: 15.87 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001868/0.001895, allocations: 1.318 MB / 0.5569 GB, free: 14.53 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007152/0.00261, allocations: 0.576 MB / 0.5574 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.74e-05/0.002648, allocations: 0 / 0.5574 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.002666, allocations: 0 / 0.5574 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.977e-05/0.002716, allocations: 7.938 kB / 0.5574 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.003158, allocations: 143.2 kB / 0.5576 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.388e-05/0.003211, allocations: 23.86 kB / 0.5576 GB, free: 13.78 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.292e-05/0.003244, allocations: 12 kB / 0.5576 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.461e-05/0.003299, allocations: 7.984 kB / 0.5576 GB, free: 13.76 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.284e-05/0.003342, allocations: 8 kB / 0.5576 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.003354, allocations: 0 / 0.5576 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002805/0.003635, allocations: 275.3 kB / 0.5579 GB, free: 13.48 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.003648, allocations: 4 kB / 0.5579 GB, free: 13.48 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.599e-05/0.003664, allocations: 7.938 kB / 0.5579 GB, free: 13.47 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.003852, allocations: 151.5 kB / 0.558 GB, free: 13.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.003855, allocations: 4 kB / 0.558 GB, free: 13.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.003856, allocations: 0 / 0.558 GB, free: 13.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.00386, allocations: 4 kB / 0.558 GB, free: 13.32 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00032/0.00418, allocations: 396.1 kB / 0.5584 GB, free: 12.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.004218, allocations: 9.938 kB / 0.5584 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.542e-05/0.004243, allocations: 4.938 kB / 0.5584 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.69e-05/0.00431, allocations: 104.6 kB / 0.5585 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.004323, allocations: 8.375 kB / 0.5585 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.004339, allocations: 384 / 0.5585 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.951e-05/0.004419, allocations: 71.88 kB / 0.5586 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.004426, allocations: 192 / 0.5586 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.491e-06/0.004431, allocations: 384 / 0.5586 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.004436, allocations: 384 / 0.5586 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.747e-05/0.004454, allocations: 15.92 kB / 0.5586 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001062/0.00456, allocations: 105.2 kB / 0.5587 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.004693, allocations: 51.03 kB / 0.5588 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.823e-05/0.004711, allocations: 15.77 kB / 0.5588 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.004735, allocations: 7.125 kB / 0.5588 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.004756, allocations: 33.39 kB / 0.5588 GB, free: 12.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.004757, allocations: 0 / 0.5588 GB, free: 12.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003796/0.005137, allocations: 233.6 kB / 0.5591 GB, free: 12.12 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.005159, allocations: 51.41 kB / 0.5591 GB, free: 12.06 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.488e-05/0.005224, allocations: 165.9 kB / 0.5593 GB, free: 11.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.005234, allocations: 25.7 kB / 0.5593 GB, free: 11.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.43e-05/0.005268, allocations: 130.9 kB / 0.5594 GB, free: 11.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.005292, allocations: 19.84 kB / 0.5594 GB, free: 11.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.005322, allocations: 27.36 kB / 0.5595 GB, free: 11.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.005426, allocations: 0.4884 MB / 0.5599 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.145e-05/0.005438, allocations: 4 kB / 0.5599 GB, free: 11.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.198e-05/0.00545, allocations: 11.92 kB / 0.5599 GB, free: 11.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.357e-05/0.005483, allocations: 23.69 kB / 0.56 GB, free: 11.12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.005484, allocations: 0 / 0.56 GB, free: 11.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.298e-05/0.005547, allocations: 61.67 kB / 0.56 GB, free: 11.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.005557, allocations: 4 kB / 0.56 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.005562, allocations: 0 / 0.56 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.005573, allocations: 7.938 kB / 0.56 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.679e-05/0.00561, allocations: 11.98 kB / 0.56 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.005613, allocations: 3.938 kB / 0.5601 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.107e-05/0.005624, allocations: 3.938 kB / 0.5601 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.005629, allocations: 4 kB / 0.5601 GB, free: 11.02 MB / 490.7 MB 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 (7): * Single equations (assignments): 7 * 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 6.421e-05/0.005693, allocations: 156.6 kB / 0.5602 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.005703, allocations: 4.516 kB / 0.5602 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.078e-05/0.005794, allocations: 69.75 kB / 0.5603 GB, free: 10.78 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.005796, allocations: 4.109 kB / 0.5603 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.0058, allocations: 4 kB / 0.5603 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.005804, allocations: 3.938 kB / 0.5603 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.005994, allocations: 301.7 kB / 0.5606 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.005996, allocations: 4 kB / 0.5606 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.098e-05/0.006037, allocations: 8 kB / 0.5606 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.006039, allocations: 0 / 0.5606 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.006045, allocations: 7.984 kB / 0.5606 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.006046, allocations: 0 / 0.5606 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.006049, allocations: 7.875 kB / 0.5606 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.006174, allocations: 219.7 kB / 0.5608 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.00619, allocations: 7.984 kB / 0.5608 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.656e-06/0.006198, allocations: 0 / 0.5608 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.683e-05/0.006235, allocations: 0 / 0.5608 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.539e-05/0.006251, allocations: 11.94 kB / 0.5608 GB, free: 10.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.006255, allocations: 3.984 kB / 0.5608 GB, free: 10.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.995e-05/0.006285, allocations: 123.2 kB / 0.561 GB, free: 10.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006285, allocations: 0 / 0.561 GB, free: 10.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001658/0.006451, allocations: 23.88 kB / 0.561 GB, free: 10 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001354/0.006586, allocations: 131.1 kB / 0.5611 GB, free: 9.863 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.868e-05/0.006655, allocations: 27.67 kB / 0.5611 GB, free: 9.832 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006657, allocations: 0 / 0.5611 GB, free: 9.832 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.789e-05/0.006675, allocations: 23.61 kB / 0.5612 GB, free: 9.805 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.006823, allocations: 8 kB / 0.5612 GB, free: 9.797 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.007237, allocations: 197.8 kB / 0.5613 GB, free: 9.57 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.221e-05/0.007269, allocations: 59.34 kB / 0.5614 GB, free: 9.492 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.151e-05/0.00729, allocations: 7.938 kB / 0.5614 GB, free: 9.484 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.007332, allocations: 74.2 kB / 0.5615 GB, free: 9.41 MB / 490.7 MB Notification: Performance of SimCode: time 9.82e-07/0.007333, allocations: 0 / 0.5615 GB, free: 9.41 MB / 490.7 MB Notification: Performance of Templates: time 0.00232/0.009654, allocations: 0.7462 MB / 0.5622 GB, free: 8.715 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4684333871118724]