Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.001399/0.001399, allocations: 114.3 kB / 17.13 MB, free: 5.938 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.001398/0.001398, allocations: 197.2 kB / 20.08 MB, free: 3 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.371/1.371, allocations: 225.6 MB / 248.5 MB, free: 3.629 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.002264/0.002264, allocations: 286.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 1.006/1.006, allocations: 180.9 MB / 0.5268 GB, free: 2.719 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.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002667/0.002667, allocations: 95.84 kB / 0.7259 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4759/0.4786, allocations: 94.16 MB / 0.8179 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001937/0.4805, allocations: 1.248 MB / 0.8191 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007722/0.4813, allocations: 0.5924 MB / 0.8197 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.354e-05/0.4813, allocations: 0 / 0.8197 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.892e-05/0.4813, allocations: 0.9688 kB / 0.8197 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.569e-05/0.4814, allocations: 3.938 kB / 0.8197 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004461/0.4818, allocations: 138.5 kB / 0.8198 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.879e-05/0.4819, allocations: 15.97 kB / 0.8198 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.367e-05/0.4819, allocations: 4.688 kB / 0.8198 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.633e-05/0.4819, allocations: 3.062 kB / 0.8198 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.714e-05/0.482, allocations: 6.438 kB / 0.8198 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.482, allocations: 0 / 0.8198 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004661/0.4825, allocations: 342.9 kB / 0.8201 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.365e-06/0.4825, allocations: 0.7812 kB / 0.8201 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.816e-05/0.4825, allocations: 10.22 kB / 0.8202 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.4827, allocations: 148.7 kB / 0.8203 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4827, allocations: 0 / 0.8203 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4827, allocations: 1.344 kB / 0.8203 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.4827, allocations: 3.938 kB / 0.8203 GB, free: 5.922 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003179/0.483, allocations: 355 kB / 0.8206 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.4831, allocations: 9.812 kB / 0.8207 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.4831, allocations: 0.9375 kB / 0.8207 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.557e-05/0.4832, allocations: 162.1 kB / 0.8208 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.4832, allocations: 4.375 kB / 0.8208 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.4832, allocations: 2 kB / 0.8208 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.708e-05/0.4833, allocations: 40.48 kB / 0.8209 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.4833, allocations: 1.125 kB / 0.8209 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.4833, allocations: 3.938 kB / 0.8209 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.4833, allocations: 0.8438 kB / 0.8209 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.302e-05/0.4833, allocations: 3.219 kB / 0.8209 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001018/0.4834, allocations: 151.6 kB / 0.821 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.436e-05/0.4835, allocations: 27.3 kB / 0.821 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/0.4835, allocations: 6.797 kB / 0.821 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.4835, allocations: 4.703 kB / 0.821 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.521e-05/0.4835, allocations: 35.31 kB / 0.8211 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.4835, allocations: 0 / 0.8211 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001238/0.4837, allocations: 47.22 kB / 0.8211 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.4837, allocations: 55.53 kB / 0.8212 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.964e-05/0.4837, allocations: 92.86 kB / 0.8213 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.61e-06/0.4837, allocations: 25.7 kB / 0.8213 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.307e-05/0.4837, allocations: 81.2 kB / 0.8214 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.4838, allocations: 16.25 kB / 0.8214 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.4838, allocations: 12.16 kB / 0.8214 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.934e-05/0.4838, allocations: 311.8 kB / 0.8217 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.208e-05/0.4838, allocations: 1.5 kB / 0.8217 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.308e-06/0.4838, allocations: 6.406 kB / 0.8217 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.754e-05/0.4839, allocations: 20.94 kB / 0.8217 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.4839, allocations: 0 / 0.8217 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.934e-05/0.4839, allocations: 42.39 kB / 0.8218 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.4839, allocations: 6.875 kB / 0.8218 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.4839, allocations: 5 kB / 0.8218 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.4839, allocations: 0 / 0.8218 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.4841, allocations: 11.78 kB / 0.8218 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002138/0.4843, allocations: 0.5893 MB / 0.8224 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.66e-05/0.4843, allocations: 5.062 kB / 0.8224 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.4843, allocations: 1.312 kB / 0.8224 GB, free: 3.703 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.212e-05/0.4844, allocations: 116.9 kB / 0.8225 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.134e-06/0.4844, allocations: 5.312 kB / 0.8225 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.201e-05/0.4845, allocations: 47 kB / 0.8225 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.4845, allocations: 1.219 kB / 0.8225 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4845, allocations: 0 / 0.8225 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.4845, allocations: 1.188 kB / 0.8225 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.87e-05/0.4845, allocations: 155.6 kB / 0.8227 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.4845, allocations: 0 / 0.8227 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.217e-05/0.4846, allocations: 11.88 kB / 0.8227 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4846, allocations: 3.141 kB / 0.8227 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.4846, allocations: 0.9688 kB / 0.8227 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001632/0.4848, allocations: 0.5814 MB / 0.8233 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4848, allocations: 5.188 kB / 0.8233 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.019e-05/0.4848, allocations: 66.33 kB / 0.8233 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.357e-05/0.4848, allocations: 77.11 kB / 0.8234 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.577e-06/0.4848, allocations: 5.281 kB / 0.8234 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.352e-05/0.4849, allocations: 128 / 0.8234 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.256e-05/0.4849, allocations: 12.86 kB / 0.8234 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.4849, allocations: 0 / 0.8234 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.715e-05/0.4849, allocations: 81.88 kB / 0.8235 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.4849, allocations: 0 / 0.8235 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001973/0.4851, allocations: 10.78 kB / 0.8235 GB, free: 2.492 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001272/0.4852, allocations: 107.4 kB / 0.8236 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001509/0.4854, allocations: 19.86 kB / 0.8236 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4854, allocations: 0 / 0.8236 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.107e-05/0.4854, allocations: 20.03 kB / 0.8236 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.4856, allocations: 9.094 kB / 0.8237 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000267/0.4858, allocations: 129.7 kB / 0.8238 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.824e-05/0.4859, allocations: 0.6785 MB / 0.8244 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.166e-05/0.486, allocations: 8.625 kB / 0.8244 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.486, allocations: 4 kB / 0.8245 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of Templates: time 0.002474/0.4884, allocations: 0.7021 MB / 0.8251 GB, free: 1.496 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.023836795939133] Failed to read output from testmodel.py, exit status != 0: 0.4956002829130739 0.506970398 0.021245386 Calling exit ...