Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001418/0.001418, allocations: 118.7 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.001447/0.001447, 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.326/1.326, allocations: 225.6 MB / 248.5 MB, free: 3.602 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.00228/0.00228, allocations: 273.6 kB / 303.6 MB, free: 3.73 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.993/0.993, allocations: 180.9 MB / 0.5268 GB, free: 2.629 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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002614/0.002614, allocations: 107.8 kB / 0.7259 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4457/0.4483, allocations: 94.14 MB / 0.8179 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001887/0.4502, allocations: 1.28 MB / 0.8191 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007842/0.451, allocations: 0.6213 MB / 0.8197 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.026e-05/0.451, allocations: 0 / 0.8197 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.801e-05/0.451, allocations: 5.375 kB / 0.8197 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.772e-05/0.4511, allocations: 0 / 0.8197 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.4515, allocations: 150.7 kB / 0.8199 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.7e-05/0.4515, allocations: 23.97 kB / 0.8199 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.72e-05/0.4516, allocations: 2.031 kB / 0.8199 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.121e-05/0.4516, allocations: 4.781 kB / 0.8199 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.225e-05/0.4517, allocations: 14.48 kB / 0.8199 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.4517, allocations: 1.156 kB / 0.8199 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004376/0.4521, allocations: 340.9 kB / 0.8202 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.4521, allocations: 9.297 kB / 0.8202 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.067e-05/0.4521, allocations: 7.875 kB / 0.8203 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.4524, allocations: 146.1 kB / 0.8204 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.4524, allocations: 4 kB / 0.8204 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4524, allocations: 0 / 0.8204 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.4524, allocations: 5.469 kB / 0.8204 GB, free: 5.848 MB / 0.5762 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.0003093/0.4527, allocations: 361.4 kB / 0.8207 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.4527, allocations: 9.656 kB / 0.8208 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.4527, allocations: 2.188 kB / 0.8208 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.106e-05/0.4528, allocations: 168.8 kB / 0.8209 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.4528, allocations: 5.5 kB / 0.8209 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.4528, allocations: 3.062 kB / 0.8209 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.23e-05/0.4529, allocations: 43.38 kB / 0.821 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.4529, allocations: 192 / 0.821 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.4529, allocations: 5.469 kB / 0.821 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.4529, allocations: 0 / 0.821 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.344e-05/0.453, allocations: 6.797 kB / 0.821 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001111/0.4531, allocations: 162.5 kB / 0.8211 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.4532, allocations: 42.98 kB / 0.8212 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.803e-05/0.4532, allocations: 23.66 kB / 0.8212 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.4533, allocations: 3.938 kB / 0.8212 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.13e-05/0.4533, allocations: 31.78 kB / 0.8212 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.4533, allocations: 1.438 kB / 0.8212 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0004577/0.4537, allocations: 324.3 kB / 0.8215 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/0.4538, allocations: 56.59 kB / 0.8216 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.681e-05/0.4538, allocations: 101.2 kB / 0.8217 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.153e-06/0.4538, allocations: 29.7 kB / 0.8217 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.279e-05/0.4538, allocations: 81.45 kB / 0.8218 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.4538, allocations: 18.17 kB / 0.8218 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/0.4539, allocations: 22.19 kB / 0.8218 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.594e-05/0.4539, allocations: 312.2 kB / 0.8221 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.324e-05/0.4539, allocations: 13.94 kB / 0.8221 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.913e-05/0.4539, allocations: 10.81 kB / 0.8222 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.797e-05/0.454, allocations: 27.95 kB / 0.8222 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.454, allocations: 4 kB / 0.8222 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.152e-05/0.4541, allocations: 68.03 kB / 0.8223 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.4541, allocations: 12.8 kB / 0.8223 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.4541, allocations: 3.938 kB / 0.8223 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.4541, allocations: 1.125 kB / 0.8223 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.61e-05/0.4541, allocations: 9.531 kB / 0.8223 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.4541, allocations: 0 / 0.8223 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.647e-05/0.4542, allocations: 0.9688 kB / 0.8223 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.4542, allocations: 6.188 kB / 0.8223 GB, free: 3.91 MB / 0.5762 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 3.746e-05/0.4542, allocations: 122.3 kB / 0.8224 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.4542, allocations: 6.406 kB / 0.8224 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.4543, allocations: 76.72 kB / 0.8225 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.4543, allocations: 1.031 kB / 0.8225 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4543, allocations: 1.125 kB / 0.8225 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.4543, allocations: 0 / 0.8225 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.4546, allocations: 306.6 kB / 0.8228 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4546, allocations: 0.9062 kB / 0.8228 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.918e-05/0.4546, allocations: 19.02 kB / 0.8228 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4546, allocations: 1.922 kB / 0.8228 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.4546, allocations: 1.375 kB / 0.8228 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4546, allocations: 1.312 kB / 0.8228 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4546, allocations: 0.5625 kB / 0.8228 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.4548, allocations: 188.3 kB / 0.823 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/0.4548, allocations: 85.2 kB / 0.8231 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.4548, allocations: 6.109 kB / 0.8231 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-05/0.4549, allocations: 2.266 kB / 0.8231 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.4549, allocations: 7.797 kB / 0.8231 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.4549, allocations: 3.422 kB / 0.8231 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.693e-05/0.4549, allocations: 81.23 kB / 0.8232 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.4549, allocations: 0.75 kB / 0.8232 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002399/0.4551, allocations: 20.5 kB / 0.8232 GB, free: 3.043 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0001368/0.4553, allocations: 124.8 kB / 0.8233 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.644e-05/0.4554, allocations: 27.17 kB / 0.8233 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4554, allocations: 0 / 0.8233 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.733e-05/0.4554, allocations: 20.69 kB / 0.8233 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.4556, allocations: 11.41 kB / 0.8234 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.4559, allocations: 232.2 kB / 0.8236 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.18e-05/0.456, allocations: 0.6798 MB / 0.8242 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.723e-05/0.456, allocations: 11.38 kB / 0.8243 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.456, allocations: 3.938 kB / 0.8243 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of Templates: time 0.002211/0.4582, allocations: 0.8035 MB / 0.825 GB, free: 1.938 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.658281882060692] Failed to read output from testmodel.py, exit status != 0: 0.46505567501299083 0.47616458700000003 0.021004334000000003 Calling exit ...