Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.001203/0.001203, allocations: 118.5 kB / 17.13 MB, free: 5.781 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.001167/0.001167, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.313/1.313, allocations: 225.6 MB / 248.5 MB, free: 3.621 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.002252/0.002252, allocations: 284.7 kB / 303.6 MB, free: 3.746 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.9844/0.9844, allocations: 180.9 MB / 0.5268 GB, free: 2.727 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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003539/0.003539, allocations: 95.84 kB / 0.7259 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4939/0.4974, allocations: 94.16 MB / 0.8179 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001906/0.4993, allocations: 1.291 MB / 0.8191 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008227/0.5002, allocations: 0.593 MB / 0.8197 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.706e-05/0.5002, allocations: 4.938 kB / 0.8197 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.619e-05/0.5002, allocations: 7.312 kB / 0.8197 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.409e-05/0.5003, allocations: 1 kB / 0.8197 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004412/0.5007, allocations: 139.9 kB / 0.8198 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.669e-05/0.5008, allocations: 20.16 kB / 0.8199 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.556e-05/0.5008, allocations: 9.781 kB / 0.8199 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.345e-05/0.5008, allocations: 8.219 kB / 0.8199 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.158e-05/0.5009, allocations: 11.72 kB / 0.8199 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.5009, allocations: 8.844 kB / 0.8199 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004584/0.5013, allocations: 336.9 kB / 0.8202 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.5013, allocations: 0.8438 kB / 0.8202 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.5014, allocations: 15.38 kB / 0.8202 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.5016, allocations: 149.4 kB / 0.8204 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5016, allocations: 5 kB / 0.8204 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5016, allocations: 0 / 0.8204 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.5016, allocations: 0 / 0.8204 GB, free: 5.883 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003484/0.502, allocations: 362 kB / 0.8207 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.502, allocations: 13.22 kB / 0.8207 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.502, allocations: 2.219 kB / 0.8207 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.5021, allocations: 165.4 kB / 0.8209 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.5021, allocations: 1.719 kB / 0.8209 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.5022, allocations: 1.531 kB / 0.8209 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.5023, allocations: 40.98 kB / 0.8209 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.5023, allocations: 4.172 kB / 0.8209 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.5023, allocations: 5.094 kB / 0.821 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.5023, allocations: 0 / 0.821 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.272e-05/0.5024, allocations: 16.98 kB / 0.821 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.5026, allocations: 262.9 kB / 0.8212 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.5029, allocations: 48.12 kB / 0.8213 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.358e-05/0.5029, allocations: 17.75 kB / 0.8213 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.5029, allocations: 1.469 kB / 0.8213 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.5029, allocations: 39.84 kB / 0.8213 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.5029, allocations: 0 / 0.8213 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0001917/0.5031, allocations: 58.91 kB / 0.8214 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.5032, allocations: 52.41 kB / 0.8214 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.631e-05/0.5032, allocations: 96.34 kB / 0.8215 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.5032, allocations: 30.8 kB / 0.8216 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/0.5033, allocations: 85.27 kB / 0.8216 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.14e-05/0.5033, allocations: 9.156 kB / 0.8216 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.5033, allocations: 20.88 kB / 0.8217 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.927e-05/0.5034, allocations: 316.2 kB / 0.822 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.034e-05/0.5034, allocations: 7.906 kB / 0.822 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.856e-05/0.5034, allocations: 23.08 kB / 0.822 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.137e-05/0.5035, allocations: 29.56 kB / 0.822 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5035, allocations: 0 / 0.822 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000101/0.5036, allocations: 62.88 kB / 0.8221 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.5036, allocations: 9.938 kB / 0.8221 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.5036, allocations: 3.281 kB / 0.8221 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.5036, allocations: 1.25 kB / 0.8221 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.733e-05/0.5037, allocations: 11.16 kB / 0.8221 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.5037, allocations: 5.531 kB / 0.8221 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.272e-05/0.5037, allocations: 0 / 0.8221 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.5037, allocations: 3.188 kB / 0.8221 GB, free: 4.098 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 5.135e-05/0.5037, allocations: 115 kB / 0.8222 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.5038, allocations: 1.406 kB / 0.8222 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.5039, allocations: 63.47 kB / 0.8223 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.5039, allocations: 1.062 kB / 0.8223 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5039, allocations: 128 / 0.8223 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.5039, allocations: 5.344 kB / 0.8223 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.5041, allocations: 169.6 kB / 0.8225 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5041, allocations: 0 / 0.8225 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.949e-05/0.5041, allocations: 13.89 kB / 0.8225 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.5041, allocations: 0 / 0.8225 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.5041, allocations: 1.625 kB / 0.8225 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5041, allocations: 0 / 0.8225 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5041, allocations: 4 kB / 0.8225 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.558e-05/0.5042, allocations: 146.8 kB / 0.8226 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.5042, allocations: 83.39 kB / 0.8227 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.5042, allocations: 3.234 kB / 0.8227 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.723e-05/0.5043, allocations: 1.219 kB / 0.8227 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.083e-05/0.5043, allocations: 5.375 kB / 0.8227 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.5043, allocations: 1.312 kB / 0.8227 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.974e-05/0.5043, allocations: 82.06 kB / 0.8228 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5043, allocations: 0 / 0.8228 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002421/0.5046, allocations: 21.42 kB / 0.8228 GB, free: 3.387 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 (4): * Single equations (assignments): 4 * 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.0001705/0.5048, allocations: 124.1 kB / 0.8229 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.5049, allocations: 21.48 kB / 0.8229 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5049, allocations: 0 / 0.8229 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.205e-05/0.5049, allocations: 12.45 kB / 0.823 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.5051, allocations: 5.75 kB / 0.823 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003053/0.5054, allocations: 159.4 kB / 0.8231 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.5055, allocations: 0.6756 MB / 0.8238 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.089e-05/0.5056, allocations: 10.78 kB / 0.8238 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.5056, allocations: 0 / 0.8238 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of Templates: time 0.002645/0.5082, allocations: 0.7045 MB / 0.8245 GB, free: 2.352 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.6990396219771355] Failed to read output from testmodel.py, exit status != 0: 0.5161196778062731 0.526421159 0.021894393 Calling exit ...