Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="BuildSysPro_BuildSysPro_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.00118/0.00118, allocations: 90.98 kB / 15.06 MB, free: 1.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.383/1.383, allocations: 143.4 MB / 434.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004068/0.0004068, allocations: 8 kB / 0.5161 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2694, allocations: 83.41 MB / 0.5975 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6579/0.9273, allocations: 227.5 MB / 0.8197 GB, free: 8.227 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02532/0.9527, allocations: 20.71 MB / 0.8399 GB, free: 3.465 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002449/0.9552, allocations: 47.69 kB / 0.84 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002657/0.9578, allocations: 0.6402 MB / 0.8406 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003904/0.9618, allocations: 1.162 MB / 0.8417 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004535/0.9663, allocations: 1.343 MB / 0.843 GB, free: 276 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003986/0.9703, allocations: 2.983 MB / 0.846 GB, free: 13.28 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001421/0.9717, allocations: 0.9046 MB / 0.8468 GB, free: 12.39 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002295/0.974, allocations: 1.058 MB / 0.8479 GB, free: 11.32 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/0.9753, allocations: 0.8053 MB / 0.8487 GB, free: 10.52 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 8.318e-05/0.9754, allocations: 35.94 kB / 0.8487 GB, free: 10.48 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002652/0.978, allocations: 0.9079 MB / 0.8496 GB, free: 9.57 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00034/0.9784, allocations: 275 kB / 0.8498 GB, free: 9.301 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003477/0.9787, allocations: 261.1 kB / 0.8501 GB, free: 9.039 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.9808, allocations: 1.664 MB / 0.8517 GB, free: 7.371 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.9808, allocations: 0 / 0.8517 GB, free: 7.371 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.805e-06/0.9808, allocations: 0 / 0.8517 GB, free: 7.371 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.494e-05/0.9808, allocations: 0 / 0.8517 GB, free: 7.371 MB / 0.67 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.001845/0.9827, allocations: 1.25 MB / 0.8529 GB, free: 6.074 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.9827, allocations: 12.03 kB / 0.853 GB, free: 6.062 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001631/0.9829, allocations: 139.5 kB / 0.8531 GB, free: 5.918 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.9839, allocations: 226.4 kB / 0.8533 GB, free: 5.695 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.9852, allocations: 0.8187 MB / 0.8541 GB, free: 4.832 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/0.9853, allocations: 188.8 kB / 0.8543 GB, free: 4.625 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.9855, allocations: 88 kB / 0.8544 GB, free: 4.539 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.9869, allocations: 0.9401 MB / 0.8553 GB, free: 3.562 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.9869, allocations: 3.938 kB / 0.8553 GB, free: 3.559 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.948e-05/0.987, allocations: 36 kB / 0.8553 GB, free: 3.523 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.987, allocations: 20 kB / 0.8553 GB, free: 3.504 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.9881, allocations: 0.6245 MB / 0.856 GB, free: 2.883 MB / 0.67 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.554/1.542, allocations: 4.44 MB / 0.8603 GB, free: 120.4 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004694/1.543, allocations: 186.9 kB / 0.8605 GB, free: 120.4 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/1.543, allocations: 145.6 kB / 0.8606 GB, free: 120.4 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/1.544, allocations: 1.018 MB / 0.8616 GB, free: 119.2 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/1.544, allocations: 37.81 kB / 0.8616 GB, free: 119.2 MB / 0.67 GB Notification: Performance of pre-optimization done (n=24): time 5.23e-06/1.544, allocations: 1.078 kB / 0.8616 GB, free: 119.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=24): time 0.001272/1.545, allocations: 468.7 kB / 0.8621 GB, free: 119.1 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/1.545, allocations: 53.56 kB / 0.8621 GB, free: 119.1 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/1.547, allocations: 1.1 MB / 0.8632 GB, free: 118.9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.951e-05/1.547, allocations: 34.23 kB / 0.8632 GB, free: 118.9 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004496/1.547, allocations: 0.5119 MB / 0.8637 GB, free: 118.7 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.2e-05/1.547, allocations: 90.78 kB / 0.8638 GB, free: 118.7 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-05/1.547, allocations: 6.938 kB / 0.8638 GB, free: 118.7 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001082/1.548, allocations: 325.2 kB / 0.8641 GB, free: 118.4 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/1.548, allocations: 124.5 kB / 0.8643 GB, free: 118.4 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004664/1.548, allocations: 388.4 kB / 0.8646 GB, free: 118.1 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000319/1.549, allocations: 183.1 kB / 0.8648 GB, free: 118.1 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/1.549, allocations: 2.375 kB / 0.8648 GB, free: 118.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009213/1.55, allocations: 0.5354 MB / 0.8653 GB, free: 118 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/1.55, allocations: 9.688 kB / 0.8653 GB, free: 118 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/1.55, allocations: 5.969 kB / 0.8653 GB, free: 118 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.997e-05/1.55, allocations: 16.03 kB / 0.8654 GB, free: 118 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/1.55, allocations: 85.77 kB / 0.8654 GB, free: 118 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.329e-05/1.55, allocations: 15.98 kB / 0.8655 GB, free: 118 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008711/1.551, allocations: 121.6 kB / 0.8656 GB, free: 117.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.998e-05/1.551, allocations: 25.78 kB / 0.8656 GB, free: 117.9 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004302/1.551, allocations: 294.7 kB / 0.8659 GB, free: 117.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/1.552, allocations: 102.7 kB / 0.866 GB, free: 117.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007745/1.552, allocations: 424.7 kB / 0.8664 GB, free: 117.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/1.552, allocations: 6.234 kB / 0.8664 GB, free: 117.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/1.552, allocations: 0 / 0.8664 GB, free: 117.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.552, allocations: 0 / 0.8664 GB, free: 117.7 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002621/1.555, allocations: 1.548 MB / 0.8679 GB, free: 117.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/1.555, allocations: 5.188 kB / 0.8679 GB, free: 117.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/1.555, allocations: 46.91 kB / 0.868 GB, free: 117.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/1.555, allocations: 7.656 kB / 0.868 GB, free: 117.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/1.555, allocations: 6.266 kB / 0.868 GB, free: 117.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-05/1.555, allocations: 12.58 kB / 0.868 GB, free: 117.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.186e-06/1.555, allocations: 6.25 kB / 0.868 GB, free: 117.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007003/1.556, allocations: 0.5719 MB / 0.8685 GB, free: 116.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003188/1.556, allocations: 249.8 kB / 0.8688 GB, free: 116.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/1.557, allocations: 11.06 kB / 0.8688 GB, free: 116.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004395/1.557, allocations: 28.3 kB / 0.8688 GB, free: 116.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/1.557, allocations: 30.47 kB / 0.8688 GB, free: 116.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/1.557, allocations: 17.52 kB / 0.8689 GB, free: 116.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001201/1.558, allocations: 0.7618 MB / 0.8696 GB, free: 116.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/1.558, allocations: 0.5625 kB / 0.8696 GB, free: 116.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001219/1.56, allocations: 292 kB / 0.8699 GB, free: 116.6 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001761/1.561, allocations: 1.332 MB / 0.8712 GB, free: 115.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0007776/1.562, allocations: 325 kB / 0.8715 GB, free: 115.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.562, allocations: 1.406 kB / 0.8715 GB, free: 115.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002565/1.562, allocations: 141.7 kB / 0.8716 GB, free: 115.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/1.565, allocations: 482.3 kB / 0.8721 GB, free: 115.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/1.576, allocations: 5.53 MB / 0.8775 GB, free: 113.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009572/1.577, allocations: 1.07 MB / 0.8785 GB, free: 112.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001323/1.578, allocations: 190.6 kB / 0.8787 GB, free: 112.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006053/1.579, allocations: 363 kB / 0.8791 GB, free: 112.9 MB / 0.67 GB Notification: Performance of SimCode: time 2.745e-06/1.579, allocations: 0 / 0.8791 GB, free: 112.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08592/1.665, allocations: 26.67 MB / 0.9051 GB, free: 105.7 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/1.665, allocations: 256.8 kB / 0.9054 GB, free: 105.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.106/4.771, allocations: 0 / 0.9054 GB, free: 105.3 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) Environment - environmentSimulation: