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.001433/0.001433, allocations: 119.3 kB / 17.13 MB, free: 5.758 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.001501/0.001501, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.329/1.329, allocations: 225.6 MB / 248.5 MB, free: 3.633 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.002272/0.002272, allocations: 280.9 kB / 303.6 MB, free: 3.715 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 0.9882/0.9882, allocations: 180.9 MB / 0.5268 GB, free: 3.137 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.002674/0.002674, allocations: 95.84 kB / 0.7259 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4678/0.4705, allocations: 94.16 MB / 0.8179 GB, free: 7.453 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001989/0.4725, allocations: 1.275 MB / 0.8191 GB, free: 6.566 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0008242/0.4733, allocations: 0.6163 MB / 0.8197 GB, free: 6.141 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.616e-05/0.4733, allocations: 1.031 kB / 0.8197 GB, free: 6.141 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.4733, allocations: 3.938 kB / 0.8197 GB, free: 6.137 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 3.554e-05/0.4734, allocations: 4.547 kB / 0.8197 GB, free: 6.133 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004649/0.4738, allocations: 151.7 kB / 0.8199 GB, free: 6.062 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 5.863e-05/0.4739, allocations: 16.56 kB / 0.8199 GB, free: 6.055 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.4739, allocations: 9 kB / 0.8199 GB, free: 6.051 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 3.546e-05/0.474, allocations: 4.219 kB / 0.8199 GB, free: 6.051 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 4.706e-05/0.474, allocations: 14.36 kB / 0.8199 GB, free: 6.043 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.474, allocations: 2.031 kB / 0.8199 GB, free: 6.043 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004602/0.4745, allocations: 338.4 kB / 0.8202 GB, free: 5.945 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.4745, allocations: 9.578 kB / 0.8202 GB, free: 5.938 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.4745, allocations: 14.86 kB / 0.8203 GB, free: 5.93 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.4748, allocations: 143.1 kB / 0.8204 GB, free: 5.891 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4748, allocations: 0 / 0.8204 GB, free: 5.891 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4748, allocations: 4 kB / 0.8204 GB, free: 5.887 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.4748, allocations: 1.094 kB / 0.8204 GB, free: 5.887 MB / 0.5763 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.000363/0.4751, allocations: 361.7 kB / 0.8207 GB, free: 5.504 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.4752, allocations: 13.09 kB / 0.8207 GB, free: 5.5 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/0.4752, allocations: 6.875 kB / 0.8208 GB, free: 5.5 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.205e-05/0.4753, allocations: 165.6 kB / 0.8209 GB, free: 5.301 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.4753, allocations: 384 / 0.8209 GB, free: 5.301 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.4753, allocations: 7.094 kB / 0.8209 GB, free: 5.297 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.411e-05/0.4754, allocations: 34.67 kB / 0.821 GB, free: 5.266 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.4754, allocations: 4.188 kB / 0.821 GB, free: 5.262 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.4754, allocations: 8.5 kB / 0.821 GB, free: 5.254 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.4754, allocations: 1.125 kB / 0.821 GB, free: 5.254 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.392e-05/0.4755, allocations: 14.98 kB / 0.821 GB, free: 5.25 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001245/0.4756, allocations: 154.2 kB / 0.8211 GB, free: 5.059 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.4758, allocations: 46.5 kB / 0.8212 GB, free: 5.023 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.883e-05/0.4758, allocations: 14.55 kB / 0.8212 GB, free: 5.012 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.4758, allocations: 8.422 kB / 0.8212 GB, free: 5.008 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.392e-05/0.4758, allocations: 35.84 kB / 0.8212 GB, free: 4.965 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.4758, allocations: 0 / 0.8212 GB, free: 4.965 MB / 0.5763 GB Notification: Performance of matching and sorting (n=6): time 0.000554/0.4764, allocations: 312.9 kB / 0.8215 GB, free: 4.676 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.4764, allocations: 52.72 kB / 0.8216 GB, free: 4.613 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.896e-05/0.4765, allocations: 97.73 kB / 0.8217 GB, free: 4.512 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.4765, allocations: 33.64 kB / 0.8217 GB, free: 4.473 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 1.569e-05/0.4765, allocations: 89.12 kB / 0.8218 GB, free: 4.387 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.4765, allocations: 18.08 kB / 0.8218 GB, free: 4.371 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.4765, allocations: 22.02 kB / 0.8218 GB, free: 4.352 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.486e-05/0.4766, allocations: 312 kB / 0.8221 GB, free: 4.039 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.461e-05/0.4766, allocations: 10.72 kB / 0.8221 GB, free: 4.035 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.201e-05/0.4766, allocations: 13.75 kB / 0.8221 GB, free: 4.031 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.292e-05/0.4767, allocations: 32.59 kB / 0.8222 GB, free: 4.012 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.4767, allocations: 0 / 0.8222 GB, free: 4.012 MB / 0.5763 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.882e-05/0.4768, allocations: 75.73 kB / 0.8223 GB, free: 3.957 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.4768, allocations: 9.375 kB / 0.8223 GB, free: 3.953 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.4768, allocations: 0 / 0.8223 GB, free: 3.953 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.4768, allocations: 1.062 kB / 0.8223 GB, free: 3.953 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.086e-05/0.4769, allocations: 17.47 kB / 0.8223 GB, free: 3.949 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.4769, allocations: 0 / 0.8223 GB, free: 3.949 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.717e-05/0.4769, allocations: 1.25 kB / 0.8223 GB, free: 3.949 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.4769, allocations: 1.219 kB / 0.8223 GB, free: 3.949 MB / 0.5763 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 4.655e-05/0.4769, allocations: 116 kB / 0.8224 GB, free: 3.828 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.477, allocations: 9.5 kB / 0.8224 GB, free: 3.82 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.4771, allocations: 73.14 kB / 0.8225 GB, free: 3.77 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.4771, allocations: 4.938 kB / 0.8225 GB, free: 3.766 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.4771, allocations: 1.125 kB / 0.8225 GB, free: 3.766 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4771, allocations: 3.234 kB / 0.8225 GB, free: 3.766 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.4773, allocations: 306.3 kB / 0.8228 GB, free: 3.445 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4773, allocations: 0.75 kB / 0.8228 GB, free: 3.445 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.29e-05/0.4774, allocations: 15.47 kB / 0.8228 GB, free: 3.441 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.4774, allocations: 5.953 kB / 0.8228 GB, free: 3.438 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.4774, allocations: 1.25 kB / 0.8228 GB, free: 3.438 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4774, allocations: 0 / 0.8228 GB, free: 3.438 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.4774, allocations: 1.5 kB / 0.8228 GB, free: 3.438 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.4776, allocations: 179.3 kB / 0.823 GB, free: 3.277 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 3.101e-05/0.4776, allocations: 94.8 kB / 0.8231 GB, free: 3.172 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.4776, allocations: 1.609 kB / 0.8231 GB, free: 3.172 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.888e-05/0.4777, allocations: 6.594 kB / 0.8231 GB, free: 3.168 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.4777, allocations: 3.797 kB / 0.8231 GB, free: 3.168 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.4777, allocations: 5.938 kB / 0.8231 GB, free: 3.164 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 1.914e-05/0.4777, allocations: 87.11 kB / 0.8232 GB, free: 3.082 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.4777, allocations: 0 / 0.8232 GB, free: 3.082 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002351/0.4779, allocations: 19.23 kB / 0.8232 GB, free: 3.078 MB / 0.5763 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.0001685/0.4781, allocations: 118.4 kB / 0.8233 GB, free: 2.988 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.4782, allocations: 34.36 kB / 0.8233 GB, free: 2.977 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4782, allocations: 0 / 0.8233 GB, free: 2.977 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 2.768e-05/0.4783, allocations: 21.12 kB / 0.8233 GB, free: 2.969 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.4785, allocations: 8.891 kB / 0.8233 GB, free: 2.965 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003686/0.4788, allocations: 233.6 kB / 0.8236 GB, free: 2.746 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.4789, allocations: 0.6789 MB / 0.8242 GB, free: 2.051 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.479, allocations: 10.75 kB / 0.8242 GB, free: 2.043 MB / 0.5763 GB Notification: Performance of SimCode: time 3.01e-07/0.479, allocations: 0.9062 kB / 0.8242 GB, free: 2.043 MB / 0.5763 GB Notification: Performance of Templates: time 0.002393/0.4814, allocations: 0.8017 MB / 0.825 GB, free: 1.977 MB / 0.5763 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.7108161128126085] Failed to read output from testmodel.py, exit status != 0: 0.48884675512090325 0.5010465310000001 0.023035442 Calling exit ...