Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",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.007313/0.007313, allocations: 98.53 kB / 15.73 MB, free: 6.039 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.001709/0.001709, allocations: 199.9 kB / 16.68 MB, free: 5.973 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002236/0.002236, allocations: 290.1 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9706/0.9706, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 95.84 kB / 0.681 GB, free: 16 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1757, allocations: 86.98 MB / 0.7659 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.576/0.7518, allocations: 174 MB / 0.9358 GB, free: 5.141 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.009429/0.7612, allocations: 9.51 MB / 0.9451 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003225/0.7616, allocations: 4 kB / 0.9451 GB, free: 11.59 MB / 0.7012 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0006836/0.7623, allocations: 198.6 kB / 0.9453 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0002937/0.7626, allocations: 87.36 kB / 0.9454 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.7628, allocations: 63.92 kB / 0.9454 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0004493/0.7633, allocations: 322.7 kB / 0.9457 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002863/0.7636, allocations: 152.5 kB / 0.9459 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003853/0.764, allocations: 159.3 kB / 0.946 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.7641, allocations: 99.5 kB / 0.9461 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.7641, allocations: 16 kB / 0.9462 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 3.845e-05/0.7642, allocations: 16 kB / 0.9462 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 3.489e-05/0.7642, allocations: 43.84 kB / 0.9462 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 8.483e-05/0.7643, allocations: 95.48 kB / 0.9463 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.7645, allocations: 211.2 kB / 0.9465 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.7646, allocations: 3.984 kB / 0.9465 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.095e-06/0.7646, allocations: 7.938 kB / 0.9465 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.7646, allocations: 3.938 kB / 0.9465 GB, free: 10.14 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004319/0.765, allocations: 479.6 kB / 0.947 GB, free: 9.625 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.7651, allocations: 8.031 kB / 0.947 GB, free: 9.617 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.133e-05/0.7651, allocations: 54.55 kB / 0.947 GB, free: 9.555 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.7652, allocations: 23.75 kB / 0.9471 GB, free: 9.531 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.7655, allocations: 269.9 kB / 0.9473 GB, free: 9.23 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.7655, allocations: 12.44 kB / 0.9473 GB, free: 9.219 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.7656, allocations: 20 kB / 0.9473 GB, free: 9.199 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.7659, allocations: 231.8 kB / 0.9476 GB, free: 8.938 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.7659, allocations: 3.938 kB / 0.9476 GB, free: 8.934 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.7659, allocations: 11.94 kB / 0.9476 GB, free: 8.922 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.7659, allocations: 4 kB / 0.9476 GB, free: 8.918 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.7661, allocations: 87.84 kB / 0.9477 GB, free: 8.832 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009515/0.767, allocations: 1.434 MB / 0.9491 GB, free: 7.312 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 7.473e-05/0.7671, allocations: 169.1 kB / 0.9492 GB, free: 7.137 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.715e-05/0.7671, allocations: 84.12 kB / 0.9493 GB, free: 7.051 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.7672, allocations: 79.28 kB / 0.9494 GB, free: 6.973 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.7672, allocations: 113.8 kB / 0.9495 GB, free: 6.852 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.7672, allocations: 4 kB / 0.9495 GB, free: 6.848 MB / 0.7012 GB Notification: Performance of matching and sorting (n=0): time 8.399e-05/0.7673, allocations: 45.42 kB / 0.9495 GB, free: 6.797 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.7674, allocations: 126.8 kB / 0.9497 GB, free: 6.66 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.7677, allocations: 294.9 kB / 0.9499 GB, free: 6.371 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.7677, allocations: 25.7 kB / 0.95 GB, free: 6.34 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.7678, allocations: 143.9 kB / 0.9501 GB, free: 6.195 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.517e-06/0.7678, allocations: 0 / 0.9501 GB, free: 6.195 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.7679, allocations: 13.72 kB / 0.9501 GB, free: 6.176 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.768, allocations: 342.8 kB / 0.9504 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/0.7681, allocations: 4 kB / 0.9504 GB, free: 5.828 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.64e-05/0.7681, allocations: 27.42 kB / 0.9505 GB, free: 5.789 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.502e-05/0.7682, allocations: 39.38 kB / 0.9505 GB, free: 5.738 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.7682, allocations: 1.688 kB / 0.9505 GB, free: 5.738 MB / 0.7012 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001742/0.7684, allocations: 77.28 kB / 0.9506 GB, free: 5.656 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.7684, allocations: 4 kB / 0.9506 GB, free: 5.652 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.7684, allocations: 0 / 0.9506 GB, free: 5.652 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.7684, allocations: 4 kB / 0.9506 GB, free: 5.648 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.946e-05/0.7685, allocations: 7.984 kB / 0.9506 GB, free: 5.641 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.7685, allocations: 4 kB / 0.9506 GB, free: 5.637 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.179e-05/0.7686, allocations: 27.81 kB / 0.9506 GB, free: 5.609 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.026e-06/0.7686, allocations: 7.938 kB / 0.9506 GB, free: 5.602 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001433/0.7687, allocations: 197.7 kB / 0.9508 GB, free: 5.398 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.357e-05/0.7688, allocations: 124.7 kB / 0.9509 GB, free: 5.27 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.985e-05/0.7689, allocations: 121.9 kB / 0.9511 GB, free: 5.137 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.448e-05/0.769, allocations: 180.2 kB / 0.9512 GB, free: 4.953 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.509e-05/0.7691, allocations: 184.2 kB / 0.9514 GB, free: 4.766 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.671e-05/0.7691, allocations: 184.3 kB / 0.9516 GB, free: 4.578 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003169/0.7694, allocations: 469 kB / 0.952 GB, free: 4.062 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.011e-05/0.7695, allocations: 102.2 kB / 0.9521 GB, free: 3.957 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.32e-05/0.7695, allocations: 104.9 kB / 0.9522 GB, free: 3.848 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.858e-05/0.7696, allocations: 188.2 kB / 0.9524 GB, free: 3.656 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.891e-05/0.7697, allocations: 180.3 kB / 0.9526 GB, free: 3.473 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.134e-05/0.7698, allocations: 186 kB / 0.9528 GB, free: 3.285 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.571e-05/0.7698, allocations: 176.3 kB / 0.9529 GB, free: 3.105 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.77, allocations: 335.4 kB / 0.9533 GB, free: 2.754 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.7701, allocations: 205.8 kB / 0.9534 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-05/0.7702, allocations: 184.2 kB / 0.9536 GB, free: 2.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.7704, allocations: 104.2 kB / 0.9537 GB, free: 2.234 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.771e-05/0.7704, allocations: 184.2 kB / 0.9539 GB, free: 2.047 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.03e-05/0.7705, allocations: 104.9 kB / 0.954 GB, free: 1.938 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001964/0.7707, allocations: 206 kB / 0.9542 GB, free: 1.738 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7707, allocations: 4 kB / 0.9542 GB, free: 1.734 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003117/0.771, allocations: 24 kB / 0.9542 GB, free: 1.711 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0004356/0.7715, allocations: 0.8318 MB / 0.955 GB, free: 0.8477 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 8.084e-05/0.7715, allocations: 12.17 kB / 0.955 GB, free: 0.8359 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/0.7716, allocations: 4.062 kB / 0.955 GB, free: 0.832 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 2.445e-06/0.7716, allocations: 3.938 kB / 0.9551 GB, free: 0.8281 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007465/0.7723, allocations: 0.5215 MB / 0.9556 GB, free: 312 kB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.7744, allocations: 2.223 MB / 0.9577 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.7746, allocations: 0.7245 MB / 0.9584 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.88e-05/0.7747, allocations: 26.02 kB / 0.9585 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.5e-05/0.7748, allocations: 60.42 kB / 0.9585 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.7748, allocations: 0 / 0.9585 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/0.7948, allocations: 4.775 MB / 0.9632 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.325/8.12, allocations: 4.062 kB / 0.9632 GB, free: 8.574 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)