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.001012/0.001012, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001243/0.001243, allocations: 165 kB / 23.01 MB, free: 1.551 MB / 18.57 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 0.982/0.982, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.001711/0.001711, allocations: 233.9 kB / 260.2 MB, free: 12.82 MB / 250.7 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 0.7136/0.7136, allocations: 138.4 MB / 455.2 MB, free: 1.5 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.5551 GB, free: 476 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.991e-05/3.19e-05, allocations: 4.844 kB / 0.5551 GB, free: 472 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.4309/0.4309, allocations: 161.5 MB / 0.7129 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.007673/0.4386, allocations: 5.415 MB / 0.7182 GB, free: 5.844 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.4402, allocations: 71.38 kB / 0.7182 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.4417, allocations: 0.5779 MB / 0.7188 GB, free: 5.191 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002495/0.4441, allocations: 1.251 MB / 0.72 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.003499/0.4476, allocations: 1.671 MB / 0.7217 GB, free: 2.258 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.003279/0.4509, allocations: 2.692 MB / 0.7243 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001419/0.4523, allocations: 0.9906 MB / 0.7253 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00186/0.4542, allocations: 1.391 MB / 0.7266 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.4553, allocations: 0.8219 MB / 0.7274 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001808/0.4555, allocations: 108 kB / 0.7275 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/0.4571, allocations: 1.079 MB / 0.7286 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003135/0.4575, allocations: 402.7 kB / 0.729 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0004053/0.4579, allocations: 435 kB / 0.7294 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001871/0.4597, allocations: 1.514 MB / 0.7308 GB, free: 8.793 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4597, allocations: 0 / 0.7308 GB, free: 8.793 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4597, allocations: 0 / 0.7308 GB, free: 8.793 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.089e-05/0.4598, allocations: 0 / 0.7308 GB, free: 8.793 MB / 0.5417 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.00165/0.4614, allocations: 1.518 MB / 0.7323 GB, free: 7.23 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.4614, allocations: 8.75 kB / 0.7323 GB, free: 7.223 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007852/0.4622, allocations: 347.3 kB / 0.7327 GB, free: 6.883 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000996/0.4632, allocations: 0.8938 MB / 0.7335 GB, free: 5.957 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/0.4634, allocations: 291.6 kB / 0.7338 GB, free: 5.621 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.702e-05/0.4635, allocations: 88 kB / 0.7339 GB, free: 5.535 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008597/0.4643, allocations: 0.6962 MB / 0.7346 GB, free: 4.793 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.4643, allocations: 0 / 0.7346 GB, free: 4.793 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.713e-05/0.4644, allocations: 36 kB / 0.7346 GB, free: 4.758 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.4644, allocations: 23.44 kB / 0.7346 GB, free: 4.738 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007989/0.4652, allocations: 312.4 kB / 0.7349 GB, free: 4.43 MB / 0.5417 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.002651/0.4679, allocations: 2.986 MB / 0.7379 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.4681, allocations: 89.05 kB / 0.7379 GB, free: 1.27 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.538e-05/0.4682, allocations: 52.61 kB / 0.738 GB, free: 1.215 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002622/0.4684, allocations: 99.92 kB / 0.7381 GB, free: 1.117 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.4685, allocations: 33.39 kB / 0.7381 GB, free: 1.074 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=24): time 2.305e-06/0.4685, allocations: 11.92 kB / 0.7381 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24): time 0.0005588/0.469, allocations: 279.1 kB / 0.7384 GB, free: 0.7852 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.4691, allocations: 67.33 kB / 0.7385 GB, free: 0.707 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005608/0.4696, allocations: 0.6517 MB / 0.7391 GB, free: 44 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.4696, allocations: 29.7 kB / 0.7391 GB, free: 8 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/0.4699, allocations: 0.5959 MB / 0.7397 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.974e-05/0.47, allocations: 91.22 kB / 0.7398 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.4701, allocations: 103.8 kB / 0.7399 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.4703, allocations: 0.5469 MB / 0.7404 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.832e-05/0.4704, allocations: 40.97 kB / 0.7405 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000355/0.4707, allocations: 0.7401 MB / 0.7412 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.471, allocations: 382.8 kB / 0.7416 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.471, allocations: 0 / 0.7416 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007314/0.4718, allocations: 381 kB / 0.7419 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.4718, allocations: 13.23 kB / 0.7419 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.4718, allocations: 4 kB / 0.7419 GB, free: 12.74 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.4718, allocations: 8 kB / 0.7419 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.472, allocations: 91.78 kB / 0.742 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.4721, allocations: 19.92 kB / 0.742 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.4723, allocations: 41.42 kB / 0.7421 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/0.4724, allocations: 24 kB / 0.7421 GB, free: 12.56 MB / 0.5573 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.0001672/0.4725, allocations: 196.7 kB / 0.7423 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.652e-05/0.4726, allocations: 79.53 kB / 0.7424 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003784/0.473, allocations: 276.2 kB / 0.7426 GB, free: 12 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.473, allocations: 4 kB / 0.7426 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.473, allocations: 3.938 kB / 0.7426 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.473, allocations: 0 / 0.7426 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.4742, allocations: 1.122 MB / 0.7437 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/0.4742, allocations: 8.562 kB / 0.7437 GB, free: 10.74 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.089e-05/0.4743, allocations: 39.92 kB / 0.7438 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.4743, allocations: 12 kB / 0.7438 GB, free: 10.69 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.4743, allocations: 8 kB / 0.7438 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.4743, allocations: 4 kB / 0.7438 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.4743, allocations: 11.88 kB / 0.7438 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003829/0.4747, allocations: 0.5257 MB / 0.7443 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.4748, allocations: 107.4 kB / 0.7444 GB, free: 9.945 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/0.4749, allocations: 11.98 kB / 0.7444 GB, free: 9.934 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.475, allocations: 16.5 kB / 0.7445 GB, free: 9.918 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.475, allocations: 31.84 kB / 0.7445 GB, free: 9.887 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.4751, allocations: 12 kB / 0.7445 GB, free: 9.875 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003687/0.4754, allocations: 430.9 kB / 0.7449 GB, free: 9.457 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.4754, allocations: 4 kB / 0.7449 GB, free: 9.453 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000726/0.4762, allocations: 319 kB / 0.7452 GB, free: 9.141 MB / 0.5573 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.0003542/0.4765, allocations: 252.7 kB / 0.7455 GB, free: 8.887 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003345/0.4768, allocations: 197.6 kB / 0.7457 GB, free: 8.691 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4768, allocations: 0 / 0.7457 GB, free: 8.691 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.4769, allocations: 83.91 kB / 0.7457 GB, free: 8.605 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007955/0.4777, allocations: 276.5 kB / 0.746 GB, free: 8.371 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.4796, allocations: 1.519 MB / 0.7475 GB, free: 6.734 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.4798, allocations: 205.7 kB / 0.7477 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003412/0.4801, allocations: 133.9 kB / 0.7478 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.072e-05/0.4802, allocations: 44.5 kB / 0.7478 GB, free: 6.34 MB / 0.5573 GB Notification: Performance of SimCode: time 1.032e-06/0.4802, allocations: 0 / 0.7478 GB, free: 6.34 MB / 0.5573 GB Notification: Performance of Templates: time 0.01647/0.4967, allocations: 11.26 MB / 0.7588 GB, free: 11.44 MB / 0.573 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.379767381586134]