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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 111.9 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 192.6 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.064/1.064, allocations: 129.2 MB / 432.5 MB, free: 13.23 MB / 350.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 67.88 kB / 0.5987 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5192/0.5211, allocations: 83.44 MB / 0.6802 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.8251/1.346, allocations: 250.1 MB / 0.9244 GB, free: 1.277 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02181/1.368, allocations: 22.39 MB / 0.9462 GB, free: 0.8086 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002322/1.37, allocations: 58.34 kB / 0.9463 GB, free: 0.8086 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002699/1.373, allocations: 0.9909 MB / 0.9473 GB, free: 0.8008 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004251/1.377, allocations: 1.521 MB / 0.9488 GB, free: 0.7422 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004542/1.382, allocations: 1.951 MB / 0.9507 GB, free: 0.6797 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003839/1.386, allocations: 2.665 MB / 0.9533 GB, free: 0.6172 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/1.387, allocations: 1.029 MB / 0.9543 GB, free: 500 kB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003477/1.391, allocations: 1.598 MB / 0.9558 GB, free: 72 kB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/1.392, allocations: 0.9423 MB / 0.9567 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001565/1.393, allocations: 108.1 kB / 0.9569 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003433/1.396, allocations: 1.761 MB / 0.9586 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004629/1.397, allocations: 394 kB / 0.9589 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009209/1.397, allocations: 0.6299 MB / 0.9596 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003954/1.401, allocations: 2.286 MB / 0.9618 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/1.401, allocations: 0 / 0.9618 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.122e-06/1.401, allocations: 0 / 0.9618 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.524e-05/1.401, allocations: 0 / 0.9618 GB, free: 14.21 MB / 0.6856 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.002527/1.404, allocations: 1.515 MB / 0.9633 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/1.404, allocations: 11.56 kB / 0.9633 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001777/1.404, allocations: 144.8 kB / 0.9634 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/1.405, allocations: 233.9 kB / 0.9636 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/1.407, allocations: 0.9235 MB / 0.9645 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/1.407, allocations: 183.9 kB / 0.9647 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/1.407, allocations: 96.28 kB / 0.9648 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/1.409, allocations: 0.9284 MB / 0.9657 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/1.409, allocations: 2.625 kB / 0.9657 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.872e-05/1.409, allocations: 36.88 kB / 0.9658 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/1.409, allocations: 22.22 kB / 0.9658 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/1.41, allocations: 0.6382 MB / 0.9664 GB, free: 11.07 MB / 0.6856 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.005511/1.416, allocations: 4.438 MB / 0.9707 GB, free: 7.09 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004002/1.416, allocations: 186 kB / 0.9709 GB, free: 6.984 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/1.416, allocations: 144.8 kB / 0.9711 GB, free: 6.906 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/1.417, allocations: 1.014 MB / 0.972 GB, free: 5.746 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/1.417, allocations: 42.55 kB / 0.9721 GB, free: 5.695 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=24): time 1.844e-06/1.417, allocations: 0 / 0.9721 GB, free: 5.695 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24): time 0.001147/1.418, allocations: 468.6 kB / 0.9725 GB, free: 5.457 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/1.418, allocations: 53.94 kB / 0.9726 GB, free: 5.395 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/1.42, allocations: 1.109 MB / 0.9737 GB, free: 4.781 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.953e-05/1.42, allocations: 36.61 kB / 0.9737 GB, free: 4.742 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004791/1.42, allocations: 0.5127 MB / 0.9742 GB, free: 4.293 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 9.128e-05/1.42, allocations: 92.83 kB / 0.9743 GB, free: 4.215 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/1.421, allocations: 104.6 kB / 0.9744 GB, free: 4.148 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001631/1.421, allocations: 328.5 kB / 0.9747 GB, free: 3.824 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/1.421, allocations: 130.7 kB / 0.9748 GB, free: 3.762 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004959/1.422, allocations: 387.3 kB / 0.9752 GB, free: 3.375 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006371/1.422, allocations: 463.3 kB / 0.9756 GB, free: 3.004 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.422, allocations: 3.594 kB / 0.9756 GB, free: 3.004 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009653/1.423, allocations: 0.5422 MB / 0.9762 GB, free: 2.746 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/1.423, allocations: 12.12 kB / 0.9762 GB, free: 2.742 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/1.423, allocations: 6.219 kB / 0.9762 GB, free: 2.742 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/1.423, allocations: 8.062 kB / 0.9762 GB, free: 2.742 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/1.424, allocations: 95.23 kB / 0.9763 GB, free: 2.723 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/1.424, allocations: 12.66 kB / 0.9763 GB, free: 2.723 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007085/1.424, allocations: 92.73 kB / 0.9764 GB, free: 2.66 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.657e-05/1.424, allocations: 30.2 kB / 0.9764 GB, free: 2.652 MB / 0.6856 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.0004667/1.425, allocations: 285.2 kB / 0.9767 GB, free: 2.441 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/1.425, allocations: 106.6 kB / 0.9768 GB, free: 2.383 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007199/1.426, allocations: 422.5 kB / 0.9772 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/1.426, allocations: 2.562 kB / 0.9772 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.426, allocations: 2.531 kB / 0.9772 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/1.426, allocations: 6.516 kB / 0.9772 GB, free: 2.117 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002345/1.428, allocations: 1.552 MB / 0.9787 GB, free: 0.9648 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/1.428, allocations: 5.531 kB / 0.9787 GB, free: 0.9648 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/1.428, allocations: 41.55 kB / 0.9788 GB, free: 0.9609 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/1.428, allocations: 4.969 kB / 0.9788 GB, free: 0.9609 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/1.428, allocations: 11.72 kB / 0.9788 GB, free: 0.957 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/1.428, allocations: 10.73 kB / 0.9788 GB, free: 0.9531 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.428, allocations: 9.562 kB / 0.9788 GB, free: 0.9492 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000675/1.429, allocations: 0.5849 MB / 0.9794 GB, free: 488 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004275/1.429, allocations: 239.1 kB / 0.9796 GB, free: 276 kB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/1.429, allocations: 9.469 kB / 0.9796 GB, free: 272 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004101/1.43, allocations: 18.14 kB / 0.9796 GB, free: 264 kB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/1.43, allocations: 37.12 kB / 0.9797 GB, free: 244 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/1.43, allocations: 19.05 kB / 0.9797 GB, free: 236 kB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00103/1.431, allocations: 0.779 MB / 0.9804 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/1.431, allocations: 0 / 0.9804 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009409/1.432, allocations: 287.8 kB / 0.9807 GB, free: 15.73 MB / 0.7012 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.00162/1.434, allocations: 1.36 MB / 0.982 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0006974/1.434, allocations: 323.1 kB / 0.9824 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.434, allocations: 0 / 0.9824 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002142/1.434, allocations: 136.7 kB / 0.9825 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/1.437, allocations: 0.5212 MB / 0.983 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/1.447, allocations: 7.421 MB / 0.9902 GB, free: 5.727 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008264/1.448, allocations: 1.063 MB / 0.9913 GB, free: 4.637 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000798/1.449, allocations: 195.8 kB / 0.9915 GB, free: 4.449 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004982/1.449, allocations: 363.3 kB / 0.9918 GB, free: 4.094 MB / 0.7012 GB Notification: Performance of SimCode: time 6.81e-07/1.449, allocations: 4 kB / 0.9918 GB, free: 4.09 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06517/1.515, allocations: 28.16 MB / 1.019 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/11.65, allocations: 7.812 kB / 1.019 GB, free: 8.324 MB / 0.7325 GB " [Timeout remaining time 648] (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 --stepSize=0.0004 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.52290337625891] Failed to read output from testmodel.py, exit status != 0: 11.73554502055049 11.759913556 10.353818865 Calling exit ...