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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002287/0.002287, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.6 MB / 249.4 MB, free: 3.121 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002742/0.002742, allocations: 287.1 kB / 304.8 MB, free: 3.527 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.086/1.086, allocations: 180.9 MB / 0.5282 GB, free: 1.895 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.004084/0.004084, allocations: 95.84 kB / 0.7283 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5528/0.5569, allocations: 94.16 MB / 0.8203 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002392/0.5593, allocations: 1.272 MB / 0.8215 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.5604, allocations: 0.6235 MB / 0.8221 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.592e-05/0.5604, allocations: 0.8438 kB / 0.8221 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.19e-05/0.5604, allocations: 4 kB / 0.8221 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.813e-05/0.5605, allocations: 9.016 kB / 0.8221 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005378/0.561, allocations: 148.6 kB / 0.8223 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.008e-05/0.5611, allocations: 12.97 kB / 0.8223 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.607e-05/0.5611, allocations: 5.188 kB / 0.8223 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.078e-05/0.5612, allocations: 12.44 kB / 0.8223 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.453e-05/0.5612, allocations: 7.031 kB / 0.8223 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.5613, allocations: 1.25 kB / 0.8223 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005681/0.5618, allocations: 345.8 kB / 0.8227 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.5618, allocations: 9.109 kB / 0.8227 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.694e-05/0.5619, allocations: 7.188 kB / 0.8227 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.5622, allocations: 152.1 kB / 0.8228 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.5622, allocations: 0 / 0.8228 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5622, allocations: 0 / 0.8228 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.5622, allocations: 1.031 kB / 0.8228 GB, free: 2.789 MB / 0.5606 GB 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.0005049/0.5627, allocations: 358.2 kB / 0.8232 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.5627, allocations: 14.73 kB / 0.8232 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.5628, allocations: 2.531 kB / 0.8232 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.5629, allocations: 168.3 kB / 0.8233 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.5629, allocations: 1.781 kB / 0.8233 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.5629, allocations: 5.844 kB / 0.8233 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.5631, allocations: 37.22 kB / 0.8234 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.5631, allocations: 4.172 kB / 0.8234 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.5631, allocations: 12.91 kB / 0.8234 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.5631, allocations: 0 / 0.8234 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.902e-05/0.5631, allocations: 6.719 kB / 0.8234 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.5633, allocations: 154.3 kB / 0.8235 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.5635, allocations: 47.11 kB / 0.8236 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.839e-05/0.5636, allocations: 19.78 kB / 0.8236 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.5636, allocations: 5.078 kB / 0.8236 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.5636, allocations: 39.56 kB / 0.8237 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.5636, allocations: 0 / 0.8237 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0006659/0.5643, allocations: 320 kB / 0.824 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.5643, allocations: 52.84 kB / 0.824 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.757e-05/0.5644, allocations: 92.7 kB / 0.8241 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.5644, allocations: 31.17 kB / 0.8241 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.5644, allocations: 80.14 kB / 0.8242 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.5645, allocations: 22.78 kB / 0.8242 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.5645, allocations: 19.47 kB / 0.8242 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.5647, allocations: 310.8 kB / 0.8245 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.823e-05/0.5647, allocations: 19.27 kB / 0.8246 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.197e-05/0.5647, allocations: 10.47 kB / 0.8246 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.896e-05/0.5648, allocations: 32.28 kB / 0.8246 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.5648, allocations: 0 / 0.8246 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001173/0.5649, allocations: 76.25 kB / 0.8247 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.5649, allocations: 10.41 kB / 0.8247 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.5649, allocations: 0 / 0.8247 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.5649, allocations: 0 / 0.8247 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.198e-05/0.565, allocations: 14.17 kB / 0.8247 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.565, allocations: 0 / 0.8247 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.063e-05/0.565, allocations: 8.875 kB / 0.8247 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.565, allocations: 2.219 kB / 0.8247 GB, free: 0.793 MB / 0.5606 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 (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 8.052e-05/0.5651, allocations: 115.4 kB / 0.8248 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.5651, allocations: 6.062 kB / 0.8248 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.5652, allocations: 78.55 kB / 0.8249 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5652, allocations: 1 kB / 0.8249 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5653, allocations: 0 / 0.8249 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.5653, allocations: 1.062 kB / 0.8249 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003585/0.5656, allocations: 316.3 kB / 0.8252 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.5656, allocations: 1.188 kB / 0.8252 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.241e-05/0.5657, allocations: 13.89 kB / 0.8252 GB, free: 268 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5657, allocations: 0 / 0.8252 GB, free: 268 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.5657, allocations: 1.219 kB / 0.8252 GB, free: 268 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.5657, allocations: 1.219 kB / 0.8252 GB, free: 268 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5657, allocations: 1.219 kB / 0.8252 GB, free: 268 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.5659, allocations: 185.3 kB / 0.8254 GB, free: 92 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.427e-05/0.566, allocations: 95.36 kB / 0.8255 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.566, allocations: 1.156 kB / 0.8255 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.995e-05/0.566, allocations: 1.031 kB / 0.8255 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.116e-05/0.5661, allocations: 7.484 kB / 0.8255 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.5661, allocations: 2.156 kB / 0.8255 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.946e-05/0.5661, allocations: 81.69 kB / 0.8256 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5661, allocations: 0 / 0.8256 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002464/0.5664, allocations: 22.62 kB / 0.8256 GB, free: 15.89 MB / 0.5762 GB 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.000179/0.5665, allocations: 116.2 kB / 0.8257 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.5667, allocations: 35.73 kB / 0.8257 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.5667, allocations: 1.031 kB / 0.8257 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.603e-05/0.5667, allocations: 22.58 kB / 0.8258 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.5669, allocations: 10.67 kB / 0.8258 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004221/0.5673, allocations: 208.8 kB / 0.826 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.5677, allocations: 0.6795 MB / 0.8266 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.417e-05/0.5677, allocations: 15.42 kB / 0.8267 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/0.5677, allocations: 11.09 kB / 0.8267 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.5677, allocations: 0 / 0.8267 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of Templates: time 0.003234/0.571, allocations: 0.6476 MB / 0.8273 GB, free: 14.55 MB / 0.5762 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.450184065848589]