Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001306/0.001306, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001311/0.001311, allocations: 215 kB / 20.13 MB, free: 2.949 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.373/1.373, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.002317/0.002317, allocations: 284.7 kB / 309.8 MB, free: 3.445 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.011/1.011, allocations: 180.6 MB / 0.5338 GB, free: 12.35 MB / 398.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.EnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="cs",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.002726/0.002726, allocations: 103.8 kB / 0.7347 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4954/0.4981, allocations: 95.34 MB / 0.8278 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2011/0.6993, allocations: 171 MB / 0.9948 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008023/0.7073, allocations: 6.59 MB / 1.001 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004182/0.7077, allocations: 19.81 kB / 1.001 GB, free: 8 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005362/0.7082, allocations: 170.7 kB / 1.001 GB, free: 7.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002095/0.7103, allocations: 0.8752 MB / 1.002 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008619/0.7112, allocations: 333.6 kB / 1.003 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00093/0.7121, allocations: 0.7135 MB / 1.003 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004272/0.7126, allocations: 230.8 kB / 1.003 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.7137, allocations: 0.5721 MB / 1.004 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003667/0.7141, allocations: 278.9 kB / 1.004 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.27e-05/0.7141, allocations: 24 kB / 1.004 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006662/0.7148, allocations: 367.1 kB / 1.005 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.7149, allocations: 115.6 kB / 1.005 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.7151, allocations: 163.1 kB / 1.005 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006482/0.7157, allocations: 470.2 kB / 1.005 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.7157, allocations: 0 / 1.005 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7157, allocations: 3.938 kB / 1.005 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.473e-06/0.7157, allocations: 4 kB / 1.005 GB, free: 3.711 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008878/0.7166, allocations: 0.619 MB / 1.006 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.7167, allocations: 11.97 kB / 1.006 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.907e-05/0.7167, allocations: 12.56 kB / 1.006 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.707e-05/0.7168, allocations: 62.53 kB / 1.006 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000306/0.7171, allocations: 67.67 kB / 1.006 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004621/0.7175, allocations: 329.4 kB / 1.006 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.7176, allocations: 16.56 kB / 1.006 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.7176, allocations: 28 kB / 1.007 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005511/0.7181, allocations: 315.6 kB / 1.007 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.7182, allocations: 4 kB / 1.007 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.7182, allocations: 15.94 kB / 1.007 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.7182, allocations: 8 kB / 1.007 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004426/0.7186, allocations: 205.5 kB / 1.007 GB, free: 1.918 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.001575/0.7202, allocations: 1.531 MB / 1.009 GB, free: 260 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.7204, allocations: 110.5 kB / 1.009 GB, free: 140 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.7206, allocations: 88.8 kB / 1.009 GB, free: 48 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005839/0.7212, allocations: 299.2 kB / 1.009 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.7212, allocations: 38.8 kB / 1.009 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.7212, allocations: 0 / 1.009 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.000749/0.722, allocations: 269.3 kB / 1.009 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.722, allocations: 59.41 kB / 1.009 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003279/0.7224, allocations: 308.5 kB / 1.01 GB, free: 15 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.7224, allocations: 29.7 kB / 1.01 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.7225, allocations: 184.3 kB / 1.01 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.423e-05/0.7226, allocations: 51.52 kB / 1.01 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-05/0.7227, allocations: 41.7 kB / 1.01 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.7228, allocations: 342.7 kB / 1.01 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.723, allocations: 63.95 kB / 1.01 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.7232, allocations: 109.1 kB / 1.01 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003335/0.7235, allocations: 180.9 kB / 1.011 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7235, allocations: 0 / 1.011 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004352/0.7239, allocations: 217.3 kB / 1.011 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.7239, allocations: 10.34 kB / 1.011 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.7239, allocations: 4 kB / 1.011 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.724, allocations: 3.938 kB / 1.011 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.7241, allocations: 35.98 kB / 1.011 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.7241, allocations: 7.922 kB / 1.011 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.7243, allocations: 23.84 kB / 1.011 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.7243, allocations: 15.97 kB / 1.011 GB, free: 13.64 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001539/0.7245, allocations: 157.6 kB / 1.011 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/0.7245, allocations: 27.86 kB / 1.011 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004463/0.725, allocations: 211 kB / 1.011 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.725, allocations: 0 / 1.011 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.725, allocations: 3.984 kB / 1.011 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.725, allocations: 4 kB / 1.011 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.726, allocations: 0.6758 MB / 1.012 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.726, allocations: 0 / 1.012 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.7262, allocations: 31.92 kB / 1.012 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.7262, allocations: 4.219 kB / 1.012 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.7262, allocations: 11.94 kB / 1.012 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.7262, allocations: 4 kB / 1.012 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.7262, allocations: 0 / 1.012 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004498/0.7266, allocations: 337.2 kB / 1.012 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.7268, allocations: 124.8 kB / 1.012 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.7268, allocations: 3.938 kB / 1.012 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.727, allocations: 15.98 kB / 1.012 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.727, allocations: 11.98 kB / 1.012 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.727, allocations: 8.062 kB / 1.012 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002174/0.7272, allocations: 223 kB / 1.013 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7272, allocations: 3.938 kB / 1.013 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003726/0.7276, allocations: 75.89 kB / 1.013 GB, free: 11.59 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0009917/0.7286, allocations: 0.9099 MB / 1.014 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004042/0.729, allocations: 160 kB / 1.014 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.729, allocations: 4 kB / 1.014 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.7292, allocations: 71.89 kB / 1.014 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008307/0.73, allocations: 152 kB / 1.014 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003697/0.7337, allocations: 2.822 MB / 1.017 GB, free: 7.273 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.7341, allocations: 0.7834 MB / 1.018 GB, free: 6.465 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002003/0.7343, allocations: 58.94 kB / 1.018 GB, free: 6.41 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.7345, allocations: 91.41 kB / 1.018 GB, free: 6.324 MB / 0.7481 GB Notification: Performance of SimCode: time 8.21e-07/0.7345, allocations: 0 / 1.018 GB, free: 6.324 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.762, allocations: 8.172 MB / 1.026 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.261/9.023, allocations: 10.8 kB / 1.026 GB, free: 14.35 MB / 0.7637 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.751644229982048] Failed to read output from testmodel.py, exit status != 0: 9.147478458995465 9.160963628 8.442538403 Calling exit ...