Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001887/0.001887, allocations: 99.64 kB / 18.95 MB, free: 2.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002419/0.002419, allocations: 214.6 kB / 22.24 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.582/1.582, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002671/0.002671, allocations: 283.3 kB / 312.7 MB, free: 2.621 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.243/1.243, allocations: 180.6 MB / 0.5369 GB, free: 14.57 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003058/0.003058, allocations: 101.8 kB / 0.74 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1783, allocations: 95.38 MB / 0.8331 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.7008/0.8791, allocations: 222.2 MB / 1.05 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0243/0.9034, allocations: 20.55 MB / 1.07 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001887/0.9053, allocations: 77.25 kB / 1.07 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003195/0.9085, allocations: 0.9886 MB / 1.071 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004505/0.913, allocations: 1.515 MB / 1.073 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005548/0.9185, allocations: 1.969 MB / 1.075 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003859/0.9224, allocations: 2.683 MB / 1.077 GB, free: 11 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/0.9241, allocations: 0.951 MB / 1.078 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003069/0.9272, allocations: 1.391 MB / 1.08 GB, free: 10 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001739/0.9289, allocations: 0.8979 MB / 1.08 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002698/0.9292, allocations: 106.9 kB / 1.081 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003339/0.9325, allocations: 1.417 MB / 1.082 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005728/0.9331, allocations: 389.1 kB / 1.082 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009991/0.9341, allocations: 0.5107 MB / 1.083 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003718/0.9378, allocations: 2.296 MB / 1.085 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.9378, allocations: 0 / 1.085 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9378, allocations: 2.688 kB / 1.085 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.099e-05/0.9379, allocations: 0 / 1.085 GB, free: 7.262 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.00257/0.9404, allocations: 1.433 MB / 1.086 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.9405, allocations: 10.38 kB / 1.086 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.9416, allocations: 234.7 kB / 1.087 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.9434, allocations: 0.8447 MB / 1.088 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002563/0.9436, allocations: 294.7 kB / 1.088 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.9437, allocations: 92.56 kB / 1.088 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.9453, allocations: 0.9318 MB / 1.089 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.9453, allocations: 2.531 kB / 1.089 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.478e-05/0.9454, allocations: 36.81 kB / 1.089 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.9454, allocations: 21.88 kB / 1.089 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.9466, allocations: 0.6265 MB / 1.089 GB, free: 4.207 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004018/0.9506, allocations: 2.631 MB / 1.092 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003766/0.951, allocations: 185.4 kB / 1.092 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.9512, allocations: 142.8 kB / 1.092 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000533/0.9517, allocations: 119.2 kB / 1.092 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.9517, allocations: 44.03 kB / 1.093 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=24): time 1.814e-06/0.9517, allocations: 0 / 1.093 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24): time 0.001025/0.9528, allocations: 439.6 kB / 1.093 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.9528, allocations: 54.91 kB / 1.093 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008931/0.9537, allocations: 0.7017 MB / 1.094 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.238e-05/0.9537, allocations: 32.27 kB / 1.094 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004475/0.9542, allocations: 0.5498 MB / 1.094 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.598e-05/0.9543, allocations: 86.77 kB / 1.094 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.9544, allocations: 104 kB / 1.094 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002041/0.9546, allocations: 372.9 kB / 1.095 GB, free: 220 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.9549, allocations: 132.4 kB / 1.095 GB, free: 156 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000708/0.9556, allocations: 0.7331 MB / 1.096 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006309/0.9562, allocations: 469.7 kB / 1.096 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/0.9562, allocations: 0 / 1.096 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009139/0.9571, allocations: 0.5183 MB / 1.097 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.9571, allocations: 6.312 kB / 1.097 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.9572, allocations: 7.75 kB / 1.097 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.9572, allocations: 8.844 kB / 1.097 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/0.9576, allocations: 91.64 kB / 1.097 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.9576, allocations: 11.19 kB / 1.097 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005044/0.9581, allocations: 48.31 kB / 1.097 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-05/0.9581, allocations: 22.34 kB / 1.097 GB, free: 14.67 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 48 * 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 0.0004109/0.9585, allocations: 297 kB / 1.097 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.9587, allocations: 77.25 kB / 1.097 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000673/0.9593, allocations: 405 kB / 1.098 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.9594, allocations: 4 kB / 1.098 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.9594, allocations: 3.719 kB / 1.098 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.9594, allocations: 2.531 kB / 1.098 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/0.9615, allocations: 1.331 MB / 1.099 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.9615, allocations: 3.969 kB / 1.099 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.9617, allocations: 49.61 kB / 1.099 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/0.9617, allocations: 5.156 kB / 1.099 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.9617, allocations: 11.69 kB / 1.099 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.837e-06/0.9617, allocations: 10.7 kB / 1.099 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.9617, allocations: 7.219 kB / 1.099 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007313/0.9624, allocations: 0.536 MB / 1.099 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002829/0.9627, allocations: 112.1 kB / 1.1 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.609e-05/0.9628, allocations: 10.92 kB / 1.1 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003077/0.9631, allocations: 12.78 kB / 1.1 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.9632, allocations: 31.47 kB / 1.1 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.9632, allocations: 20.12 kB / 1.1 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006762/0.9639, allocations: 487.9 kB / 1.1 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.9639, allocations: 0 / 1.1 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001031/0.9649, allocations: 330.1 kB / 1.1 GB, free: 12.26 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0006033/0.9655, allocations: 318.6 kB / 1.101 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006239/0.9661, allocations: 336.3 kB / 1.101 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.9661, allocations: 3.938 kB / 1.101 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002164/0.9664, allocations: 136.8 kB / 1.101 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.9677, allocations: 269.2 kB / 1.101 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.9701, allocations: 1.546 MB / 1.103 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005454/0.9707, allocations: 484.1 kB / 1.103 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005052/0.9712, allocations: 145.2 kB / 1.104 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.9713, allocations: 45.03 kB / 1.104 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of SimCode: time 3.5e-07/0.9713, allocations: 0 / 1.104 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of Templates: time 0.02485/0.9962, allocations: 13.47 MB / 1.117 GB, free: 13.96 MB / 0.7637 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.417538832873106] Failed to read output from testmodel.py, exit status != 0: 1.003810666501522 1.019535855 0.078488216 Calling exit ...