Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.001257/0.001257, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001445/0.001445, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.388/1.388, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002609/0.002609, allocations: 297 kB / 312.7 MB, free: 2.578 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.184/1.184, allocations: 180.6 MB / 0.5369 GB, free: 14.58 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.002805/0.002805, allocations: 101.7 kB / 0.7395 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1561, allocations: 95.38 MB / 0.8327 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5553/0.7115, allocations: 158.5 MB / 0.9874 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007694/0.7192, allocations: 7.212 MB / 0.9945 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005594/0.7197, allocations: 25.34 kB / 0.9945 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006265/0.7204, allocations: 254.5 kB / 0.9948 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002983/0.7234, allocations: 1.232 MB / 0.996 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.7252, allocations: 0.7497 MB / 0.9967 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001248/0.7264, allocations: 1.088 MB / 0.9978 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005489/0.727, allocations: 331.5 kB / 0.9981 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002523/0.7295, allocations: 0.8653 MB / 0.9989 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007711/0.7303, allocations: 433.3 kB / 0.9993 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.268e-05/0.7303, allocations: 37.06 kB / 0.9994 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001793/0.7321, allocations: 0.7962 MB / 1 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.7323, allocations: 168.2 kB / 1 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002642/0.7326, allocations: 204 kB / 1 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.7341, allocations: 0.9096 MB / 1.001 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.7341, allocations: 1.656 kB / 1.001 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7341, allocations: 1.75 kB / 1.001 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.7341, allocations: 0 / 1.001 GB, free: 3.418 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001355/0.7354, allocations: 0.7431 MB / 1.002 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.7355, allocations: 11.75 kB / 1.002 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.386e-05/0.7356, allocations: 75.69 kB / 1.002 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009481/0.7365, allocations: 159.6 kB / 1.002 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006839/0.7372, allocations: 338.8 kB / 1.003 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.532e-05/0.7372, allocations: 31.09 kB / 1.003 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.077e-05/0.7373, allocations: 35.19 kB / 1.003 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000746/0.7381, allocations: 450.7 kB / 1.003 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.7381, allocations: 1.469 kB / 1.003 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.7381, allocations: 13.72 kB / 1.003 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.7381, allocations: 9.812 kB / 1.003 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00068/0.7388, allocations: 324.4 kB / 1.003 GB, free: 18.59 MB / 0.7325 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.001907/0.7407, allocations: 1.499 MB / 1.005 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003591/0.7411, allocations: 231.2 kB / 1.005 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.7413, allocations: 140.7 kB / 1.005 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004402/0.7417, allocations: 77.55 kB / 1.005 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.7418, allocations: 34.88 kB / 1.005 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=24): time 1.673e-06/0.7418, allocations: 1 kB / 1.005 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24): time 0.0009008/0.7427, allocations: 464.8 kB / 1.006 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.7427, allocations: 52.81 kB / 1.006 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003559/0.7431, allocations: 397.8 kB / 1.006 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.7431, allocations: 31.88 kB / 1.006 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.7432, allocations: 232.7 kB / 1.007 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/0.7433, allocations: 86.39 kB / 1.007 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.747e-05/0.7434, allocations: 59.2 kB / 1.007 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.7435, allocations: 353.1 kB / 1.007 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.7437, allocations: 112.1 kB / 1.007 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.744, allocations: 258.2 kB / 1.007 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004256/0.7444, allocations: 308.6 kB / 1.008 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.7444, allocations: 4.75 kB / 1.008 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005607/0.745, allocations: 361 kB / 1.008 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.745, allocations: 7.031 kB / 1.008 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.745, allocations: 3.609 kB / 1.008 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.745, allocations: 2.812 kB / 1.008 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.7453, allocations: 61.61 kB / 1.008 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.7453, allocations: 6.625 kB / 1.008 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.7455, allocations: 43.55 kB / 1.008 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.7455, allocations: 16.33 kB / 1.008 GB, free: 16.61 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (31): * Single equations (assignments): 31 * 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.0001638/0.7457, allocations: 168.2 kB / 1.008 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.15e-05/0.7458, allocations: 42.53 kB / 1.008 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006094/0.7464, allocations: 368.2 kB / 1.009 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.7464, allocations: 3.062 kB / 1.009 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.7464, allocations: 0.75 kB / 1.009 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7464, allocations: 1.844 kB / 1.009 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.7476, allocations: 0.8786 MB / 1.01 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.7476, allocations: 2.844 kB / 1.01 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.7479, allocations: 49.17 kB / 1.01 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.7479, allocations: 2.281 kB / 1.01 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.7479, allocations: 8.938 kB / 1.01 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.7479, allocations: 6.875 kB / 1.01 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.7479, allocations: 2.469 kB / 1.01 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008072/0.7487, allocations: 0.6305 MB / 1.01 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.7488, allocations: 74.52 kB / 1.01 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.239e-05/0.7489, allocations: 18.05 kB / 1.01 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.7491, allocations: 12.81 kB / 1.01 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.7491, allocations: 20.81 kB / 1.01 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.7492, allocations: 8.844 kB / 1.01 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000248/0.7494, allocations: 285.6 kB / 1.011 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/0.7494, allocations: 0 / 1.011 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004416/0.7498, allocations: 110.6 kB / 1.011 GB, free: 15.75 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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): 24 * 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.001225/0.7511, allocations: 1.227 MB / 1.012 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004663/0.7515, allocations: 276.6 kB / 1.012 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.7515, allocations: 3 kB / 1.012 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.7518, allocations: 143.3 kB / 1.012 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009654/0.7527, allocations: 226.6 kB / 1.013 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004057/0.7568, allocations: 3.801 MB / 1.016 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/0.757, allocations: 229.3 kB / 1.017 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002947/0.7573, allocations: 104.8 kB / 1.017 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.7574, allocations: 136.5 kB / 1.017 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.7574, allocations: 0 / 1.017 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04268/0.8001, allocations: 13.08 MB / 1.03 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.7, allocations: 10.08 kB / 1.03 GB, free: 11.48 MB / 0.7325 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.776258383411914] Failed to read output from testmodel.py, exit status != 0: 11.812640820164233 11.827529225 11.090949743 Calling exit ...