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.001288/0.001288, allocations: 73.88 kB / 20.65 MB, free: 3.848 MB / 18.57 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.001498/0.001498, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.938/0.938, allocations: 177.1 MB / 204.5 MB, free: 5.062 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.001718/0.001718, allocations: 249.6 kB / 261.3 MB, free: 12.49 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.7482/0.7482, allocations: 138.4 MB / 456.3 MB, free: 1.453 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.453e-06/1.453e-06, allocations: 0 / 0.5564 GB, free: 288 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.503e-05/1.648e-05, allocations: 2.312 kB / 0.5564 GB, free: 284 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3459/0.3459, allocations: 158.6 MB / 0.7112 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.006509/0.3524, allocations: 5.416 MB / 0.7165 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009492/0.3534, allocations: 71.38 kB / 0.7166 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.3545, allocations: 0.5584 MB / 0.7171 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002495/0.357, allocations: 1.247 MB / 0.7184 GB, free: 6.379 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00298/0.36, allocations: 1.687 MB / 0.72 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.003024/0.363, allocations: 2.692 MB / 0.7226 GB, free: 1.988 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/0.3644, allocations: 0.992 MB / 0.7236 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002214/0.3666, allocations: 1.454 MB / 0.725 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.3676, allocations: 0.8102 MB / 0.7258 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.3677, allocations: 108 kB / 0.7259 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/0.3694, allocations: 1.005 MB / 0.7269 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003039/0.3697, allocations: 398.7 kB / 0.7273 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0003955/0.3701, allocations: 431.1 kB / 0.7277 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.3718, allocations: 1.483 MB / 0.7291 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3718, allocations: 0 / 0.7291 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3718, allocations: 0 / 0.7291 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.3718, allocations: 0 / 0.7291 GB, free: 11.29 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.001342/0.3731, allocations: 1.514 MB / 0.7306 GB, free: 9.727 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.3731, allocations: 8.75 kB / 0.7306 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006718/0.3738, allocations: 338.6 kB / 0.731 GB, free: 9.387 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000878/0.3747, allocations: 0.8782 MB / 0.7318 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003879/0.3751, allocations: 287.6 kB / 0.7321 GB, free: 8.145 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.473e-05/0.3752, allocations: 96 kB / 0.7322 GB, free: 8.051 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006556/0.3758, allocations: 0.6414 MB / 0.7328 GB, free: 7.363 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.3758, allocations: 0 / 0.7328 GB, free: 7.363 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.389e-05/0.3759, allocations: 36 kB / 0.7328 GB, free: 7.328 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.3759, allocations: 27.98 kB / 0.7329 GB, free: 7.301 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.3762, allocations: 245.6 kB / 0.7331 GB, free: 7.059 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.002284/0.3785, allocations: 2.847 MB / 0.7359 GB, free: 4.145 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.3787, allocations: 77.05 kB / 0.736 GB, free: 4.059 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.129e-05/0.3787, allocations: 61.28 kB / 0.736 GB, free: 3.996 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002161/0.3789, allocations: 91.94 kB / 0.7361 GB, free: 3.906 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.379, allocations: 41.95 kB / 0.7361 GB, free: 3.855 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=24): time 1.532e-06/0.379, allocations: 0 / 0.7361 GB, free: 3.855 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24): time 0.0004671/0.3794, allocations: 251.6 kB / 0.7364 GB, free: 3.605 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.3795, allocations: 55.41 kB / 0.7364 GB, free: 3.539 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004566/0.3799, allocations: 0.6435 MB / 0.7371 GB, free: 2.879 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.3799, allocations: 37.7 kB / 0.7371 GB, free: 2.836 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002915/0.3802, allocations: 0.6036 MB / 0.7377 GB, free: 2.223 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.618e-05/0.3803, allocations: 91.2 kB / 0.7378 GB, free: 2.133 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.3804, allocations: 111.7 kB / 0.7379 GB, free: 2.016 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3805, allocations: 0.5546 MB / 0.7384 GB, free: 1.449 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.599e-05/0.3806, allocations: 32.97 kB / 0.7385 GB, free: 1.418 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005586/0.3812, allocations: 0.7206 MB / 0.7392 GB, free: 472 kB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.3814, allocations: 378.8 kB / 0.7395 GB, free: 15.97 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.3814, allocations: 4.688 kB / 0.7395 GB, free: 15.96 MB / 0.5574 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003829/0.3818, allocations: 349.1 kB / 0.7399 GB, free: 15.62 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3818, allocations: 4 kB / 0.7399 GB, free: 15.62 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3818, allocations: 12.03 kB / 0.7399 GB, free: 15.61 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3818, allocations: 8 kB / 0.7399 GB, free: 15.6 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.3821, allocations: 91.83 kB / 0.74 GB, free: 15.51 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3821, allocations: 11.94 kB / 0.74 GB, free: 15.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.3823, allocations: 60.19 kB / 0.74 GB, free: 15.44 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.3823, allocations: 20 kB / 0.7401 GB, free: 15.42 MB / 0.5574 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.0001617/0.3825, allocations: 188.4 kB / 0.7402 GB, free: 15.23 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.559e-05/0.3826, allocations: 83.53 kB / 0.7403 GB, free: 15.14 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003442/0.3829, allocations: 264.8 kB / 0.7406 GB, free: 14.87 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.413e-06/0.3829, allocations: 4 kB / 0.7406 GB, free: 14.86 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.3829, allocations: 0 / 0.7406 GB, free: 14.86 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3829, allocations: 3.938 kB / 0.7406 GB, free: 14.86 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009914/0.3839, allocations: 0.9646 MB / 0.7415 GB, free: 13.79 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.3839, allocations: 7.984 kB / 0.7415 GB, free: 13.78 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.596e-05/0.384, allocations: 39.92 kB / 0.7416 GB, free: 13.74 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.384, allocations: 8 kB / 0.7416 GB, free: 13.73 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.384, allocations: 12 kB / 0.7416 GB, free: 13.72 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.384, allocations: 8.5 kB / 0.7416 GB, free: 13.71 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.384, allocations: 11.94 kB / 0.7416 GB, free: 13.7 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.3843, allocations: 0.5109 MB / 0.7421 GB, free: 13.1 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.3845, allocations: 107.4 kB / 0.7422 GB, free: 12.99 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.392e-05/0.3845, allocations: 8 kB / 0.7422 GB, free: 12.98 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.3847, allocations: 15.98 kB / 0.7422 GB, free: 12.97 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.3847, allocations: 31.84 kB / 0.7423 GB, free: 12.94 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.3847, allocations: 12 kB / 0.7423 GB, free: 12.93 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0002498/0.385, allocations: 406.8 kB / 0.7427 GB, free: 12.53 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.5e-07/0.385, allocations: 0 / 0.7427 GB, free: 12.53 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.000619/0.3856, allocations: 314.9 kB / 0.743 GB, free: 12.22 MB / 0.5574 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.0003118/0.3859, allocations: 249 kB / 0.7432 GB, free: 11.97 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0002716/0.3862, allocations: 180.7 kB / 0.7434 GB, free: 11.79 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3862, allocations: 0 / 0.7434 GB, free: 11.79 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 8.679e-05/0.3863, allocations: 81.64 kB / 0.7434 GB, free: 11.71 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007898/0.387, allocations: 280.8 kB / 0.7437 GB, free: 11.47 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.3887, allocations: 1.516 MB / 0.7452 GB, free: 9.836 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.3888, allocations: 205.7 kB / 0.7454 GB, free: 9.613 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0003109/0.3892, allocations: 112.1 kB / 0.7455 GB, free: 9.512 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006314/0.3898, allocations: 278 kB / 0.7458 GB, free: 9.238 MB / 0.5574 GB Notification: Performance of SimCode: time 1.042e-06/0.3898, allocations: 0 / 0.7458 GB, free: 9.238 MB / 0.5574 GB Notification: Performance of Templates: time 0.0167/0.4065, allocations: 12.26 MB / 0.7577 GB, free: 13.38 MB / 0.573 GB " [Timeout remaining time 660] 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.2464680299162865]