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.005486/0.005486, allocations: 97.17 kB / 15.73 MB, free: 6.047 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.001435/0.001435, allocations: 196.2 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002507/0.002507, allocations: 286.1 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.064/1.064, allocations: 178.6 MB / 0.5074 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002706/0.002706, allocations: 94.11 kB / 0.6943 GB, free: 3.578 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.4186, allocations: 89.14 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.2047/0.6233, allocations: 174 MB / 0.9513 GB, free: 0.625 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0104/0.6338, allocations: 9.507 MB / 0.9605 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.634, allocations: 11.94 kB / 0.9606 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005487/0.6346, allocations: 194.7 kB / 0.9607 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002083/0.6348, allocations: 91.36 kB / 0.9608 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.635, allocations: 71.8 kB / 0.9609 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003911/0.6354, allocations: 310.7 kB / 0.9612 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000284/0.6357, allocations: 152.5 kB / 0.9613 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003123/0.636, allocations: 151.4 kB / 0.9615 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.6361, allocations: 103.4 kB / 0.9616 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.6362, allocations: 16 kB / 0.9616 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.202e-05/0.6362, allocations: 19.94 kB / 0.9616 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.881e-05/0.6363, allocations: 47.84 kB / 0.9617 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.705e-05/0.6364, allocations: 95.48 kB / 0.9618 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.6366, allocations: 216.5 kB / 0.962 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.6366, allocations: 3.984 kB / 0.962 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6366, allocations: 0 / 0.962 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.6366, allocations: 0 / 0.962 GB, free: 5.633 MB / 0.7169 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.0005057/0.6372, allocations: 478.8 kB / 0.9624 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.6372, allocations: 12.03 kB / 0.9624 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.48e-05/0.6373, allocations: 50.55 kB / 0.9625 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.6373, allocations: 31.8 kB / 0.9625 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.6377, allocations: 266.6 kB / 0.9628 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.6377, allocations: 12.44 kB / 0.9628 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.6377, allocations: 20 kB / 0.9628 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.6381, allocations: 227.8 kB / 0.963 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.6381, allocations: 4 kB / 0.963 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.6381, allocations: 11.94 kB / 0.963 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.6381, allocations: 8 kB / 0.963 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.6383, allocations: 91.78 kB / 0.9631 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.6394, allocations: 1.441 MB / 0.9645 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.6395, allocations: 177.1 kB / 0.9647 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.542e-05/0.6396, allocations: 80.17 kB / 0.9648 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.6396, allocations: 83.28 kB / 0.9649 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.525e-05/0.6397, allocations: 109.8 kB / 0.965 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.6397, allocations: 0 / 0.965 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.175e-05/0.6398, allocations: 53.5 kB / 0.965 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.6399, allocations: 126.7 kB / 0.9651 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003142/0.6402, allocations: 283 kB / 0.9654 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.6402, allocations: 25.7 kB / 0.9654 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.6403, allocations: 152 kB / 0.9656 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.6403, allocations: 0 / 0.9656 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.6404, allocations: 13.72 kB / 0.9656 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.6406, allocations: 338.8 kB / 0.9659 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.102e-05/0.6406, allocations: 0 / 0.9659 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.869e-05/0.6406, allocations: 23.44 kB / 0.9659 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.922e-05/0.6407, allocations: 39.38 kB / 0.966 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6407, allocations: 0 / 0.966 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001282/0.6408, allocations: 73.48 kB / 0.966 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.6408, allocations: 11.94 kB / 0.966 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.6408, allocations: 4.125 kB / 0.9661 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.6409, allocations: 0 / 0.9661 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.805e-05/0.6409, allocations: 15.92 kB / 0.9661 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.6409, allocations: 0 / 0.9661 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.843e-05/0.641, allocations: 23.78 kB / 0.9661 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.641, allocations: 4 kB / 0.9661 GB, free: 1.078 MB / 0.7169 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.0001259/0.6411, allocations: 201.1 kB / 0.9663 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.89e-05/0.6412, allocations: 120.8 kB / 0.9664 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.283e-05/0.6413, allocations: 129.9 kB / 0.9665 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.975e-05/0.6414, allocations: 176.3 kB / 0.9667 GB, free: 444 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.389e-05/0.6415, allocations: 188.2 kB / 0.9669 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.39e-05/0.6415, allocations: 180.3 kB / 0.967 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.6419, allocations: 465.1 kB / 0.9675 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-05/0.642, allocations: 113 kB / 0.9676 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.162e-05/0.642, allocations: 108.9 kB / 0.9677 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.121e-05/0.6421, allocations: 184.2 kB / 0.9679 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.039e-05/0.6422, allocations: 180.3 kB / 0.968 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.292e-05/0.6423, allocations: 176.3 kB / 0.9682 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.43e-05/0.6423, allocations: 188.2 kB / 0.9684 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.6425, allocations: 335.5 kB / 0.9687 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.6427, allocations: 194 kB / 0.9689 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.6428, allocations: 188.2 kB / 0.9691 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.6429, allocations: 108.9 kB / 0.9692 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.849e-05/0.643, allocations: 180.3 kB / 0.9694 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.643, allocations: 105.2 kB / 0.9695 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002112/0.6432, allocations: 210 kB / 0.9697 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6432, allocations: 0 / 0.9697 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002461/0.6435, allocations: 27.88 kB / 0.9697 GB, free: 13.18 MB / 0.7325 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.0004476/0.6439, allocations: 0.8282 MB / 0.9705 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.484e-05/0.644, allocations: 19.95 kB / 0.9705 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/0.644, allocations: 0 / 0.9705 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.644, allocations: 0 / 0.9705 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007736/0.6448, allocations: 0.5294 MB / 0.971 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.6471, allocations: 2.223 MB / 0.9732 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.6474, allocations: 0.7206 MB / 0.9739 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.457e-05/0.6475, allocations: 25.94 kB / 0.9739 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.711e-05/0.6476, allocations: 55.42 kB / 0.974 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.6476, allocations: 0 / 0.974 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.6728, allocations: 4.7 MB / 0.9786 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.831/8.503, allocations: 4.344 kB / 0.9786 GB, free: 4.102 MB / 0.7325 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)