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.0009288/0.0009288, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.000955/0.000955, allocations: 173 kB / 23.49 MB, free: 1.051 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 1.053/1.053, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.001616/0.001616, allocations: 229.4 kB / 260.5 MB, free: 12.88 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.7141/0.7141, allocations: 138.4 MB / 455.4 MB, free: 1.562 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.704e-06/1.704e-06, allocations: 0 / 0.555 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.552e-05/2.722e-05, allocations: 4.984 kB / 0.555 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.411/0.411, allocations: 248.4 MB / 0.7976 GB, free: 4.246 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02011/0.4311, allocations: 22.93 MB / 0.82 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.4325, allocations: 75.31 kB / 0.8201 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002171/0.4347, allocations: 0.9974 MB / 0.8211 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003783/0.4385, allocations: 1.558 MB / 0.8226 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0036/0.4421, allocations: 2.036 MB / 0.8246 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002996/0.4451, allocations: 2.707 MB / 0.8272 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.4462, allocations: 0.994 MB / 0.8282 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002346/0.4486, allocations: 1.776 MB / 0.8299 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008927/0.4495, allocations: 0.8101 MB / 0.8307 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.4496, allocations: 112 kB / 0.8308 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002091/0.4517, allocations: 1.429 MB / 0.8322 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003/0.452, allocations: 410.7 kB / 0.8326 GB, free: 284 kB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000403/0.4524, allocations: 435 kB / 0.833 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00225/0.4546, allocations: 1.635 MB / 0.8346 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.4546, allocations: 3.984 kB / 0.8346 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4546, allocations: 0 / 0.8346 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.4547, allocations: 3.938 kB / 0.8346 GB, free: 14.2 MB / 0.6511 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.001422/0.4561, allocations: 1.522 MB / 0.8361 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.4561, allocations: 8.75 kB / 0.8361 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008278/0.457, allocations: 346.6 kB / 0.8365 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009637/0.4579, allocations: 0.9016 MB / 0.8373 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/0.4581, allocations: 291.6 kB / 0.8376 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.643e-05/0.4582, allocations: 92 kB / 0.8377 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008389/0.459, allocations: 0.6885 MB / 0.8384 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.459, allocations: 3.438 kB / 0.8384 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.135e-05/0.4591, allocations: 43.92 kB / 0.8384 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.4591, allocations: 24 kB / 0.8384 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005189/0.4596, allocations: 308.4 kB / 0.8387 GB, free: 9.828 MB / 0.6511 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.002517/0.4621, allocations: 3.005 MB / 0.8417 GB, free: 6.742 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.4623, allocations: 79.14 kB / 0.8417 GB, free: 6.652 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.036e-05/0.4624, allocations: 62.12 kB / 0.8418 GB, free: 6.59 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003079/0.4627, allocations: 123.9 kB / 0.8419 GB, free: 6.469 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.4628, allocations: 41.42 kB / 0.842 GB, free: 6.418 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=24): time 1.833e-06/0.4628, allocations: 0 / 0.842 GB, free: 6.418 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24): time 0.0005684/0.4633, allocations: 267.2 kB / 0.8422 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.4634, allocations: 55.41 kB / 0.8423 GB, free: 6.086 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005616/0.4639, allocations: 0.6633 MB / 0.8429 GB, free: 5.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.4639, allocations: 33.7 kB / 0.8429 GB, free: 5.371 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002764/0.4642, allocations: 0.592 MB / 0.8435 GB, free: 4.77 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.013e-05/0.4643, allocations: 95.25 kB / 0.8436 GB, free: 4.676 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.4644, allocations: 103.8 kB / 0.8437 GB, free: 4.566 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.4645, allocations: 0.5469 MB / 0.8442 GB, free: 4.008 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.4646, allocations: 48.95 kB / 0.8443 GB, free: 3.961 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003496/0.465, allocations: 0.7319 MB / 0.845 GB, free: 2.992 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.4653, allocations: 386.8 kB / 0.8454 GB, free: 2.496 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.4653, allocations: 7.938 kB / 0.8454 GB, free: 2.488 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004633/0.4658, allocations: 365 kB / 0.8457 GB, free: 2.125 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.4658, allocations: 8 kB / 0.8457 GB, free: 2.117 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.4658, allocations: 11.94 kB / 0.8458 GB, free: 2.105 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.4658, allocations: 8 kB / 0.8458 GB, free: 2.098 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.466, allocations: 87.89 kB / 0.8458 GB, free: 2.012 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.466, allocations: 11.94 kB / 0.8459 GB, free: 2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.4663, allocations: 49.36 kB / 0.8459 GB, free: 1.953 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.87e-05/0.4663, allocations: 27.98 kB / 0.8459 GB, free: 1.926 MB / 0.6511 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.000179/0.4665, allocations: 192.6 kB / 0.8461 GB, free: 1.727 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.646e-05/0.4666, allocations: 83.53 kB / 0.8462 GB, free: 1.645 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000393/0.467, allocations: 269.1 kB / 0.8465 GB, free: 1.375 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.467, allocations: 7.984 kB / 0.8465 GB, free: 1.367 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.467, allocations: 1.375 kB / 0.8465 GB, free: 1.367 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.467, allocations: 3.938 kB / 0.8465 GB, free: 1.363 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.4682, allocations: 1.127 MB / 0.8476 GB, free: 120 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.4682, allocations: 4 kB / 0.8476 GB, free: 116 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.05e-05/0.4683, allocations: 44.47 kB / 0.8476 GB, free: 72 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.4683, allocations: 12 kB / 0.8476 GB, free: 60 kB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.4683, allocations: 8 kB / 0.8476 GB, free: 52 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.4683, allocations: 11.94 kB / 0.8476 GB, free: 40 kB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.4683, allocations: 4.562 kB / 0.8476 GB, free: 36 kB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2244/0.6927, allocations: 0.5023 MB / 0.8481 GB, free: 243.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/0.6929, allocations: 113.7 kB / 0.8482 GB, free: 243.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.943e-05/0.6929, allocations: 11.31 kB / 0.8483 GB, free: 243.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.6931, allocations: 8.719 kB / 0.8483 GB, free: 243.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.6932, allocations: 34.53 kB / 0.8483 GB, free: 243.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.6932, allocations: 15.94 kB / 0.8483 GB, free: 243.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003712/0.6936, allocations: 430.1 kB / 0.8487 GB, free: 243.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9e-08/0.6936, allocations: 0 / 0.8487 GB, free: 243.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008004/0.6944, allocations: 331.3 kB / 0.849 GB, free: 243.7 MB / 0.6511 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.0004138/0.6948, allocations: 316.3 kB / 0.8493 GB, free: 243.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003609/0.6952, allocations: 196.8 kB / 0.8495 GB, free: 243.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6952, allocations: 2.625 kB / 0.8495 GB, free: 243.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.994e-05/0.6953, allocations: 82 kB / 0.8496 GB, free: 243.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008281/0.6961, allocations: 290.6 kB / 0.8499 GB, free: 243.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.6978, allocations: 1.505 MB / 0.8514 GB, free: 242.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.698, allocations: 206.2 kB / 0.8516 GB, free: 242.6 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003412/0.6983, allocations: 138.4 kB / 0.8517 GB, free: 242.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.95e-05/0.6984, allocations: 52.25 kB / 0.8517 GB, free: 242.5 MB / 0.6511 GB Notification: Performance of SimCode: time 8.42e-07/0.6984, allocations: 0 / 0.8517 GB, free: 242.5 MB / 0.6511 GB Notification: Performance of Templates: time 0.01694/0.7153, allocations: 12.06 MB / 0.8635 GB, free: 241.3 MB / 0.6511 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.5532067629974335]