Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008738/0.0008737, allocations: 93.73 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009614/0.0009614, allocations: 186.6 kB / 16.92 MB, free: 6.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6978/0.6978, allocations: 115.5 MB / 407.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005973/0.0005973, allocations: 12.5 kB / 495.8 MB, free: 6.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.224, allocations: 77.52 MB / 0.5599 GB, free: 9.098 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6226/0.8467, allocations: 243.4 MB / 0.7976 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02859/0.8753, allocations: 21.99 MB / 0.8191 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002262/0.8776, allocations: 47.69 kB / 0.8191 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003033/0.8807, allocations: 0.7924 MB / 0.8199 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004858/0.8856, allocations: 1.382 MB / 0.8212 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005276/0.8908, allocations: 1.769 MB / 0.823 GB, free: 8.562 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004776/0.8956, allocations: 3.536 MB / 0.8264 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001799/0.8975, allocations: 1.085 MB / 0.8275 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002863/0.9003, allocations: 1.12 MB / 0.8286 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001939/0.9023, allocations: 0.8595 MB / 0.8294 GB, free: 1.902 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.9025, allocations: 36 kB / 0.8294 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5107/1.413, allocations: 1.868 MB / 0.8313 GB, free: 6.527 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008348/1.414, allocations: 281.4 kB / 0.8315 GB, free: 6.527 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001242/1.415, allocations: 0.5631 MB / 0.8321 GB, free: 6.496 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005051/1.42, allocations: 2.254 MB / 0.8343 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.42, allocations: 0.9062 kB / 0.8343 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.503e-06/1.42, allocations: 0 / 0.8343 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.679e-05/1.42, allocations: 0 / 0.8343 GB, free: 6.445 MB / 0.6387 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.002578/1.423, allocations: 1.229 MB / 0.8355 GB, free: 5.82 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/1.423, allocations: 9.562 kB / 0.8355 GB, free: 5.82 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/1.424, allocations: 229.5 kB / 0.8357 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/1.426, allocations: 0.8535 MB / 0.8366 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002028/1.426, allocations: 184.2 kB / 0.8367 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/1.426, allocations: 90.73 kB / 0.8368 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/1.429, allocations: 0.9339 MB / 0.8377 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/1.429, allocations: 1.156 kB / 0.8377 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.08e-05/1.429, allocations: 36.92 kB / 0.8378 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.285e-05/1.429, allocations: 22.09 kB / 0.8378 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/1.43, allocations: 0.6352 MB / 0.8384 GB, free: 5.16 MB / 0.6387 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.005872/1.436, allocations: 4.446 MB / 0.8427 GB, free: 18.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004552/1.436, allocations: 181.4 kB / 0.8429 GB, free: 18.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002866/1.437, allocations: 147.6 kB / 0.8431 GB, free: 18.4 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001516/1.438, allocations: 1.023 MB / 0.8441 GB, free: 17.27 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.883e-05/1.438, allocations: 35.06 kB / 0.8441 GB, free: 17.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=24): time 3.216e-06/1.438, allocations: 1.094 kB / 0.8441 GB, free: 17.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24): time 0.002073/1.44, allocations: 476.5 kB / 0.8446 GB, free: 17.14 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.632e-05/1.441, allocations: 54.25 kB / 0.8446 GB, free: 17.07 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002634/1.443, allocations: 1.107 MB / 0.8457 GB, free: 16.92 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.979e-05/1.443, allocations: 31.92 kB / 0.8457 GB, free: 16.89 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006779/1.444, allocations: 0.5123 MB / 0.8462 GB, free: 16.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/1.444, allocations: 91.59 kB / 0.8463 GB, free: 16.65 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.804e-05/1.444, allocations: 40.17 kB / 0.8463 GB, free: 16.63 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001959/1.444, allocations: 321.5 kB / 0.8466 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/1.445, allocations: 131.4 kB / 0.8468 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004958/1.445, allocations: 384 kB / 0.8471 GB, free: 16.03 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006625/1.446, allocations: 465.3 kB / 0.8476 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/1.446, allocations: 1.781 kB / 0.8476 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001135/1.447, allocations: 0.5411 MB / 0.8481 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/1.447, allocations: 10.62 kB / 0.8481 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/1.447, allocations: 9.844 kB / 0.8481 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-05/1.447, allocations: 8.438 kB / 0.8481 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003994/1.448, allocations: 90.94 kB / 0.8482 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-05/1.448, allocations: 12.02 kB / 0.8482 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/1.449, allocations: 128.9 kB / 0.8484 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.93e-05/1.449, allocations: 30.2 kB / 0.8484 GB, free: 15.65 MB / 0.6544 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.00081/1.45, allocations: 284.8 kB / 0.8487 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/1.45, allocations: 106.6 kB / 0.8488 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009713/1.451, allocations: 429.6 kB / 0.8492 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/1.451, allocations: 2.875 kB / 0.8492 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.451, allocations: 0 / 0.8492 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/1.451, allocations: 4.156 kB / 0.8492 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/1.454, allocations: 1.551 MB / 0.8507 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/1.454, allocations: 3.875 kB / 0.8507 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/1.454, allocations: 42.08 kB / 0.8507 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.125e-05/1.454, allocations: 10.16 kB / 0.8507 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/1.454, allocations: 10.56 kB / 0.8508 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-05/1.454, allocations: 8.656 kB / 0.8508 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.127e-05/1.454, allocations: 7.531 kB / 0.8508 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008381/1.455, allocations: 0.5736 MB / 0.8513 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000536/1.456, allocations: 246 kB / 0.8516 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/1.456, allocations: 11.61 kB / 0.8516 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005301/1.456, allocations: 37.42 kB / 0.8516 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.602e-05/1.457, allocations: 31.56 kB / 0.8516 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.726e-05/1.457, allocations: 11.36 kB / 0.8517 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001379/1.458, allocations: 0.7819 MB / 0.8524 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.112e-06/1.458, allocations: 0 / 0.8524 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001429/1.459, allocations: 281.9 kB / 0.8527 GB, free: 14.28 MB / 0.6544 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.0008126/1.46, allocations: 337.7 kB / 0.853 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007305/1.461, allocations: 336.8 kB / 0.8533 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/1.461, allocations: 0.8125 kB / 0.8533 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002287/1.461, allocations: 140.3 kB / 0.8535 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003381/1.465, allocations: 0.5205 MB / 0.854 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/1.468, allocations: 1.92 MB / 0.8558 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008822/1.469, allocations: 1.06 MB / 0.8569 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00118/1.47, allocations: 203.8 kB / 0.8571 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002788/1.47, allocations: 84.42 kB / 0.8572 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of SimCode: time 1.573e-06/1.47, allocations: 0 / 0.8572 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of Templates: time 0.04109/1.511, allocations: 19.46 MB / 0.8762 GB, free: 10.49 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)