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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 102.9 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 212.9 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.405/1.405, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002488/0.002488, allocations: 290.2 kB / 309.1 MB, free: 3.961 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.24/1.24, allocations: 180.9 MB / 0.5333 GB, free: 13.79 MB / 382.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002857/0.002857, allocations: 111.2 kB / 0.7343 GB, free: 28.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1624, allocations: 95.33 MB / 0.8273 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.6404/0.8027, allocations: 177.5 MB / 1.001 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009001/0.8117, allocations: 9.575 MB / 1.01 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003185/0.812, allocations: 10.69 kB / 1.01 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005638/0.8126, allocations: 198.2 kB / 1.01 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.8128, allocations: 96.38 kB / 1.01 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.813, allocations: 67.23 kB / 1.01 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003034/0.8133, allocations: 316.1 kB / 1.011 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.8135, allocations: 110.3 kB / 1.011 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002797/0.8138, allocations: 161.8 kB / 1.011 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.8139, allocations: 103.4 kB / 1.011 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.8139, allocations: 16.38 kB / 1.011 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.087e-05/0.8139, allocations: 15.91 kB / 1.011 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.259e-05/0.814, allocations: 47.44 kB / 1.011 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.584e-05/0.814, allocations: 97.03 kB / 1.011 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.8143, allocations: 216.4 kB / 1.011 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.8143, allocations: 2.281 kB / 1.011 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8143, allocations: 0 / 1.011 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.8143, allocations: 0 / 1.011 GB, free: 3.043 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.0005895/0.8149, allocations: 480.8 kB / 1.012 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.8149, allocations: 11.56 kB / 1.012 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.034e-05/0.8149, allocations: 55.78 kB / 1.012 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.815, allocations: 24.23 kB / 1.012 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.8153, allocations: 266.5 kB / 1.012 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.8153, allocations: 15.62 kB / 1.012 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.8154, allocations: 17.53 kB / 1.012 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.8156, allocations: 238.2 kB / 1.012 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.8157, allocations: 0 / 1.012 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.8157, allocations: 10.72 kB / 1.012 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.8157, allocations: 9.562 kB / 1.012 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.8158, allocations: 93.69 kB / 1.013 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009819/0.8168, allocations: 1.437 MB / 1.014 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.294e-05/0.8169, allocations: 171.8 kB / 1.014 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.587e-05/0.8169, allocations: 82.33 kB / 1.014 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.108e-05/0.817, allocations: 79.5 kB / 1.014 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.083e-05/0.817, allocations: 109.1 kB / 1.014 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.817, allocations: 1 kB / 1.014 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.001e-05/0.8171, allocations: 50.28 kB / 1.014 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/0.8172, allocations: 131 kB / 1.015 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.8174, allocations: 283.2 kB / 1.015 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.8174, allocations: 28.89 kB / 1.015 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.375e-05/0.8175, allocations: 143.1 kB / 1.015 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.8175, allocations: 1.375 kB / 1.015 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.8176, allocations: 17.28 kB / 1.015 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.8177, allocations: 339.7 kB / 1.015 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.8177, allocations: 7.031 kB / 1.015 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.691e-05/0.8177, allocations: 29.64 kB / 1.015 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.416e-05/0.8178, allocations: 37.31 kB / 1.015 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8178, allocations: 1.375 kB / 1.015 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001193/0.8179, allocations: 78 kB / 1.016 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.8179, allocations: 6.312 kB / 1.016 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.8179, allocations: 1.375 kB / 1.016 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.8179, allocations: 2.188 kB / 1.016 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.189e-05/0.818, allocations: 8.594 kB / 1.016 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.818, allocations: 2.156 kB / 1.016 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.408e-05/0.818, allocations: 29.52 kB / 1.016 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.818, allocations: 3.516 kB / 1.016 GB, free: 15.72 MB / 0.7325 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.0001318/0.8182, allocations: 199.8 kB / 1.016 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.039e-05/0.8183, allocations: 126.6 kB / 1.016 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.31e-05/0.8183, allocations: 122.5 kB / 1.016 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.13e-05/0.8184, allocations: 178.4 kB / 1.016 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.123e-05/0.8185, allocations: 181.9 kB / 1.016 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.881e-05/0.8186, allocations: 180.5 kB / 1.017 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.8189, allocations: 474 kB / 1.017 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.276e-05/0.8189, allocations: 107.7 kB / 1.017 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.544e-05/0.819, allocations: 105.9 kB / 1.017 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.173e-05/0.819, allocations: 179.4 kB / 1.017 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.984e-05/0.8191, allocations: 179.7 kB / 1.018 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.662e-05/0.8192, allocations: 188.3 kB / 1.018 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.18e-05/0.8193, allocations: 178.7 kB / 1.018 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.8194, allocations: 328.2 kB / 1.018 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.8196, allocations: 204.5 kB / 1.018 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.8197, allocations: 186.1 kB / 1.019 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.8198, allocations: 105 kB / 1.019 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.307e-05/0.8199, allocations: 182.6 kB / 1.019 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.43e-05/0.8199, allocations: 108.2 kB / 1.019 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001844/0.8201, allocations: 207.8 kB / 1.019 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/0.8201, allocations: 1.094 kB / 1.019 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002636/0.8204, allocations: 23.09 kB / 1.019 GB, free: 12.2 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.0004555/0.8208, allocations: 0.8282 MB / 1.02 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.236e-05/0.8209, allocations: 14.66 kB / 1.02 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.8209, allocations: 1 kB / 1.02 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.414e-06/0.8209, allocations: 4.094 kB / 1.02 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007965/0.8217, allocations: 0.5391 MB / 1.02 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.8237, allocations: 2.225 MB / 1.023 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.8241, allocations: 0.7246 MB / 1.023 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.532e-05/0.8241, allocations: 26.36 kB / 1.023 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.423e-05/0.8242, allocations: 57.09 kB / 1.023 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.8242, allocations: 1.156 kB / 1.023 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/0.8503, allocations: 4.736 MB / 1.028 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.284/9.135, allocations: 12.42 kB / 1.028 GB, free: 8.301 MB / 0.7325 GB " [Timeout remaining time 651] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.241799110081047] Failed to read output from testmodel.py, exit status != 0: 9.203798645175993 9.215329607 8.39866701 Calling exit ...