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: "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 92.95 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.001075/0.001075, allocations: 179.2 kB / 16.92 MB, free: 6.645 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.132/1.132, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5979/0.5979, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002484/0.0002484, allocations: 10.66 kB / 496 MB, free: 6.254 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1053, allocations: 77.53 MB / 0.56 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.402/0.5073, allocations: 243.4 MB / 0.7977 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02145/0.5288, allocations: 21.99 MB / 0.8192 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.53, allocations: 43.69 kB / 0.8192 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001887/0.5319, allocations: 0.7846 MB / 0.82 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002947/0.5348, allocations: 1.389 MB / 0.8213 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003427/0.5383, allocations: 1.777 MB / 0.8231 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003342/0.5416, allocations: 3.529 MB / 0.8265 GB, free: 4.723 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.543, allocations: 1.093 MB / 0.8276 GB, free: 3.59 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001887/0.5449, allocations: 1.12 MB / 0.8287 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.546, allocations: 0.8635 MB / 0.8295 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 7.754e-05/0.5461, allocations: 36 kB / 0.8296 GB, free: 1.562 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2644/0.8105, allocations: 1.858 MB / 0.8314 GB, free: 6.48 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000464/0.811, allocations: 286.9 kB / 0.8316 GB, free: 6.48 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007527/0.8118, allocations: 0.5642 MB / 0.8322 GB, free: 6.449 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002974/0.8148, allocations: 2.25 MB / 0.8344 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.8148, allocations: 3.688 kB / 0.8344 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8148, allocations: 2.5 kB / 0.8344 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.8148, allocations: 0 / 0.8344 GB, free: 6.398 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.001448/0.8163, allocations: 1.23 MB / 0.8356 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.8163, allocations: 9.375 kB / 0.8356 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000146/0.8164, allocations: 142.2 kB / 0.8357 GB, free: 5.723 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009186/0.8174, allocations: 227.4 kB / 0.836 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.8184, allocations: 0.8554 MB / 0.8368 GB, free: 5.328 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.8185, allocations: 185.3 kB / 0.837 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.8187, allocations: 95.97 kB / 0.8371 GB, free: 5.199 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.82, allocations: 0.9306 MB / 0.838 GB, free: 5.066 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.8201, allocations: 1.797 kB / 0.838 GB, free: 5.066 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.09e-05/0.8201, allocations: 40.38 kB / 0.838 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.8202, allocations: 22.16 kB / 0.838 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009777/0.8211, allocations: 0.6301 MB / 0.8387 GB, free: 5.059 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.003583/0.8247, allocations: 4.443 MB / 0.843 GB, free: 18.33 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/0.8251, allocations: 188.9 kB / 0.8432 GB, free: 18.3 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.8252, allocations: 145.1 kB / 0.8433 GB, free: 18.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007882/0.826, allocations: 1.023 MB / 0.8443 GB, free: 17.17 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.8261, allocations: 45.84 kB / 0.8444 GB, free: 17.12 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=24): time 1.293e-06/0.8261, allocations: 1 kB / 0.8444 GB, free: 17.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24): time 0.000873/0.8269, allocations: 462.9 kB / 0.8448 GB, free: 17.04 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.827, allocations: 53.97 kB / 0.8448 GB, free: 16.97 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.8281, allocations: 1.11 MB / 0.8459 GB, free: 16.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.8282, allocations: 31.98 kB / 0.846 GB, free: 16.79 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002909/0.8285, allocations: 0.5091 MB / 0.8465 GB, free: 16.6 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.911e-05/0.8285, allocations: 89.8 kB / 0.8465 GB, free: 16.54 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/0.8286, allocations: 39.73 kB / 0.8466 GB, free: 16.53 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.669e-05/0.8287, allocations: 321.6 kB / 0.8469 GB, free: 16.22 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.8289, allocations: 126.1 kB / 0.847 GB, free: 16.22 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/0.8292, allocations: 389.5 kB / 0.8474 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004151/0.8296, allocations: 466.2 kB / 0.8478 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.8296, allocations: 2.125 kB / 0.8478 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007174/0.8303, allocations: 0.5404 MB / 0.8484 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.8304, allocations: 11.06 kB / 0.8484 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.8304, allocations: 6.906 kB / 0.8484 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.8304, allocations: 8.375 kB / 0.8484 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/0.8307, allocations: 88.19 kB / 0.8485 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.8307, allocations: 13.89 kB / 0.8485 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006396/0.8314, allocations: 128.8 kB / 0.8486 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.995e-05/0.8314, allocations: 26.94 kB / 0.8486 GB, free: 15.55 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.0002944/0.8317, allocations: 287.7 kB / 0.8489 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.8318, allocations: 103.3 kB / 0.849 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005868/0.8324, allocations: 433.1 kB / 0.8494 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.8325, allocations: 3.344 kB / 0.8494 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.8325, allocations: 0 / 0.8494 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.8325, allocations: 0.875 kB / 0.8494 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.8342, allocations: 1.555 MB / 0.8509 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.8342, allocations: 11.97 kB / 0.8509 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.8344, allocations: 41.67 kB / 0.851 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.8344, allocations: 5.562 kB / 0.851 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.8344, allocations: 13.83 kB / 0.851 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.8344, allocations: 12.09 kB / 0.851 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.8344, allocations: 6.125 kB / 0.851 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004779/0.8349, allocations: 0.5676 MB / 0.8516 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002435/0.8352, allocations: 244.4 kB / 0.8518 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.8353, allocations: 12.3 kB / 0.8518 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004301/0.8357, allocations: 37.95 kB / 0.8519 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.8358, allocations: 28.17 kB / 0.8519 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.8358, allocations: 17.44 kB / 0.8519 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008335/0.8366, allocations: 0.7839 MB / 0.8527 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8366, allocations: 0 / 0.8527 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007412/0.8374, allocations: 280.3 kB / 0.8529 GB, free: 14.18 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.001132/0.8385, allocations: 1.345 MB / 0.8542 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004737/0.839, allocations: 331.2 kB / 0.8546 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.839, allocations: 0.9688 kB / 0.8546 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.8392, allocations: 143.2 kB / 0.8547 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/0.8418, allocations: 0.5325 MB / 0.8552 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008656/0.8505, allocations: 8.216 MB / 0.8632 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005013/0.851, allocations: 1.063 MB / 0.8643 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006107/0.8516, allocations: 194.9 kB / 0.8645 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003719/0.852, allocations: 370.8 kB / 0.8648 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.852, allocations: 4 kB / 0.8648 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4462/1.298, allocations: 29.37 MB / 0.8935 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002263/1.298, allocations: 253.8 kB / 0.8937 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.276/3.575, allocations: 1.969 kB / 0.8937 GB, free: 1.719 MB / 0.6544 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)