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.001319/0.001319, allocations: 108 kB / 15.6 MB, free: 132 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.001329/0.001329, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002524/0.002524, allocations: 275 kB / 290.7 MB, free: 2.031 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.077/1.077, allocations: 178.6 MB / 0.5073 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002772/0.002772, allocations: 104.9 kB / 0.6065 GB, free: 24.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1647, allocations: 89.14 MB / 0.6936 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.4546/0.6193, allocations: 174 MB / 0.8635 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00944/0.6288, allocations: 9.503 MB / 0.8728 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002446/0.6291, allocations: 11.91 kB / 0.8728 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005518/0.6297, allocations: 192.9 kB / 0.873 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002102/0.6299, allocations: 92.19 kB / 0.8731 GB, free: 484 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.6301, allocations: 65.45 kB / 0.8731 GB, free: 428 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003195/0.6304, allocations: 312.2 kB / 0.8734 GB, free: 248 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002523/0.6306, allocations: 145 kB / 0.8736 GB, free: 164 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002921/0.6309, allocations: 155.2 kB / 0.8737 GB, free: 76 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.6311, allocations: 104.2 kB / 0.8738 GB, free: 4 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.991e-05/0.6311, allocations: 17 kB / 0.8738 GB, free: 4 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 2.792e-05/0.6311, allocations: 15.09 kB / 0.8739 GB, free: 4 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.01e-05/0.6312, allocations: 41.36 kB / 0.8739 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.104e-05/0.6313, allocations: 98.64 kB / 0.874 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.6315, allocations: 212 kB / 0.8742 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.6315, allocations: 0 / 0.8742 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6315, allocations: 0 / 0.8742 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.918e-06/0.6315, allocations: 0 / 0.8742 GB, free: 15.75 MB / 0.6075 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.0004641/0.632, allocations: 472.3 kB / 0.8746 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.6321, allocations: 10.16 kB / 0.8747 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.564e-05/0.6321, allocations: 55.5 kB / 0.8747 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.6322, allocations: 27.97 kB / 0.8747 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.6324, allocations: 252.2 kB / 0.875 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.6325, allocations: 12.28 kB / 0.875 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.6325, allocations: 20.62 kB / 0.875 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.6328, allocations: 242.8 kB / 0.8752 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.6328, allocations: 0 / 0.8752 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.6329, allocations: 9.75 kB / 0.8752 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.6329, allocations: 5.812 kB / 0.8753 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.633, allocations: 88.81 kB / 0.8753 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.6341, allocations: 1.437 MB / 0.8767 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.347e-05/0.6342, allocations: 170.9 kB / 0.8769 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.638e-05/0.6342, allocations: 88.17 kB / 0.877 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.432e-05/0.6343, allocations: 79.22 kB / 0.8771 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/0.6343, allocations: 113.2 kB / 0.8772 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.6343, allocations: 0 / 0.8772 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.646e-05/0.6344, allocations: 45.03 kB / 0.8772 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.6345, allocations: 128.6 kB / 0.8773 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.6348, allocations: 289.6 kB / 0.8776 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.6348, allocations: 31.97 kB / 0.8776 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.6349, allocations: 146.2 kB / 0.8778 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-06/0.6349, allocations: 3.984 kB / 0.8778 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.635, allocations: 18.06 kB / 0.8778 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.6351, allocations: 333.8 kB / 0.8781 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.254e-05/0.6351, allocations: 6.703 kB / 0.8781 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.437e-05/0.6352, allocations: 24.38 kB / 0.8782 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.843e-05/0.6352, allocations: 38.78 kB / 0.8782 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6352, allocations: 0 / 0.8782 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001268/0.6354, allocations: 72.25 kB / 0.8783 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.6354, allocations: 6.844 kB / 0.8783 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.6354, allocations: 0 / 0.8783 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.6354, allocations: 2.531 kB / 0.8783 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.981e-05/0.6355, allocations: 11.16 kB / 0.8783 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.6355, allocations: 11.09 kB / 0.8783 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.803e-05/0.6355, allocations: 20.94 kB / 0.8783 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.6356, allocations: 6.547 kB / 0.8783 GB, free: 11.76 MB / 0.6075 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.000145/0.6357, allocations: 200.7 kB / 0.8785 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.49e-05/0.6358, allocations: 118.4 kB / 0.8786 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.617e-05/0.6359, allocations: 127.3 kB / 0.8787 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.468e-05/0.636, allocations: 182.7 kB / 0.8789 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-05/0.6361, allocations: 176.3 kB / 0.8791 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.263e-05/0.6361, allocations: 186.7 kB / 0.8793 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003328/0.6365, allocations: 469.6 kB / 0.8797 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.506e-05/0.6365, allocations: 104.9 kB / 0.8798 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.075e-05/0.6366, allocations: 103.9 kB / 0.8799 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.25e-05/0.6367, allocations: 184.3 kB / 0.8801 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.021e-05/0.6368, allocations: 184.2 kB / 0.8803 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-05/0.6368, allocations: 180.5 kB / 0.8804 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.752e-05/0.6369, allocations: 184.2 kB / 0.8806 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.6371, allocations: 327.9 kB / 0.8809 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.6372, allocations: 206.9 kB / 0.8811 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.6373, allocations: 186.1 kB / 0.8813 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.6375, allocations: 108.9 kB / 0.8814 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.652e-05/0.6375, allocations: 179.3 kB / 0.8816 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.365e-05/0.6376, allocations: 101 kB / 0.8817 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001893/0.6378, allocations: 219.5 kB / 0.8819 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6378, allocations: 0 / 0.8819 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002471/0.638, allocations: 22.22 kB / 0.8819 GB, free: 8.027 MB / 0.6075 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.0004332/0.6385, allocations: 0.8251 MB / 0.8827 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.334e-05/0.6386, allocations: 15.47 kB / 0.8827 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.6386, allocations: 0 / 0.8827 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.6386, allocations: 0 / 0.8827 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008236/0.6394, allocations: 0.5319 MB / 0.8832 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.6415, allocations: 2.234 MB / 0.8854 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.6418, allocations: 0.723 MB / 0.8861 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.503e-05/0.6419, allocations: 26.09 kB / 0.8861 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.641e-05/0.642, allocations: 57.61 kB / 0.8862 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of SimCode: time 2.004e-06/0.642, allocations: 0 / 0.8862 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.6666, allocations: 4.642 MB / 0.8907 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.799/8.466, allocations: 14.19 kB / 0.8907 GB, free: 1.152 MB / 0.6075 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)