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.0009081/0.0009081, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008866/0.0008866, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8751/0.8751, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.001423/0.001423, allocations: 241.3 kB / 259.4 MB, free: 13.01 MB / 250.7 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 0.6631/0.6631, allocations: 138.4 MB / 454.3 MB, free: 30.02 MB / 410.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/1.954e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.3716/0.3716, allocations: 147.7 MB / 0.7906 GB, free: 7.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005024/0.3766, allocations: 5.984 MB / 0.7964 GB, free: 1.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003393/0.3769, allocations: 19.81 kB / 0.7964 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004812/0.3774, allocations: 174.7 kB / 0.7966 GB, free: 1.148 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.3791, allocations: 0.8589 MB / 0.7974 GB, free: 292 kB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007665/0.3799, allocations: 382.9 kB / 0.7978 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0006378/0.3806, allocations: 0.7133 MB / 0.7985 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002944/0.3808, allocations: 220.5 kB / 0.7987 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009376/0.3818, allocations: 0.6578 MB / 0.7993 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.382, allocations: 247.3 kB / 0.7996 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.201e-05/0.3821, allocations: 24 kB / 0.7996 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004227/0.3825, allocations: 311 kB / 0.7999 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.738e-05/0.3826, allocations: 111.6 kB / 0.8 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.719e-05/0.3827, allocations: 111.8 kB / 0.8001 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004843/0.3832, allocations: 482.5 kB / 0.8006 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3832, allocations: 0 / 0.8006 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3832, allocations: 4 kB / 0.8006 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3832, allocations: 0 / 0.8006 GB, free: 13.05 MB / 0.6355 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.0006515/0.3838, allocations: 0.552 MB / 0.8011 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.3839, allocations: 13.88 kB / 0.8011 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.843e-05/0.3839, allocations: 67.19 kB / 0.8012 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002289/0.3841, allocations: 59.67 kB / 0.8013 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.3845, allocations: 260.1 kB / 0.8015 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.3845, allocations: 20.66 kB / 0.8015 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.3845, allocations: 24 kB / 0.8015 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/0.3849, allocations: 317 kB / 0.8018 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3849, allocations: 0 / 0.8018 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.3849, allocations: 12.66 kB / 0.8019 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3849, allocations: 8 kB / 0.8019 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.3852, allocations: 205.8 kB / 0.8021 GB, free: 11.45 MB / 0.6355 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.001052/0.3862, allocations: 1.201 MB / 0.8032 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.3864, allocations: 110.5 kB / 0.8033 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.581e-05/0.3865, allocations: 84.81 kB / 0.8034 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002488/0.3867, allocations: 79.69 kB / 0.8035 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.3867, allocations: 38.56 kB / 0.8035 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.3868, allocations: 0 / 0.8035 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0004323/0.3872, allocations: 277 kB / 0.8038 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.3872, allocations: 51.41 kB / 0.8038 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.3874, allocations: 316.5 kB / 0.8041 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.3874, allocations: 33.64 kB / 0.8042 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.983e-05/0.3875, allocations: 180.2 kB / 0.8044 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.3876, allocations: 51.59 kB / 0.8044 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.3876, allocations: 33.7 kB / 0.8044 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.3877, allocations: 338.8 kB / 0.8048 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.539e-05/0.3878, allocations: 59.95 kB / 0.8048 GB, free: 8.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.3879, allocations: 186.2 kB / 0.805 GB, free: 8.281 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.3881, allocations: 182.1 kB / 0.8052 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3881, allocations: 0 / 0.8052 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002644/0.3884, allocations: 221.9 kB / 0.8054 GB, free: 7.863 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3884, allocations: 8 kB / 0.8054 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.3884, allocations: 0 / 0.8054 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.3885, allocations: 8.156 kB / 0.8054 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.3886, allocations: 31.97 kB / 0.8054 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.3886, allocations: 4 kB / 0.8054 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.434e-05/0.3887, allocations: 31.77 kB / 0.8055 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.3887, allocations: 8 kB / 0.8055 GB, free: 7.773 MB / 0.6355 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.0001107/0.3888, allocations: 143.4 kB / 0.8056 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.3888, allocations: 35.75 kB / 0.8056 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.3891, allocations: 217.5 kB / 0.8058 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3891, allocations: 0 / 0.8058 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3891, allocations: 0 / 0.8058 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3891, allocations: 0 / 0.8058 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006349/0.3898, allocations: 0.6304 MB / 0.8065 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.3898, allocations: 8.031 kB / 0.8065 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.319e-05/0.3898, allocations: 23.98 kB / 0.8065 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.3898, allocations: 4 kB / 0.8065 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.3898, allocations: 3.938 kB / 0.8065 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.3898, allocations: 4 kB / 0.8065 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.3898, allocations: 4 kB / 0.8065 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.3901, allocations: 338.9 kB / 0.8068 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.3902, allocations: 51.73 kB / 0.8069 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.3902, allocations: 7.984 kB / 0.8069 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.732e-05/0.3903, allocations: 8 kB / 0.8069 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.3903, allocations: 15.92 kB / 0.8069 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.3903, allocations: 6.625 kB / 0.8069 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001496/0.3905, allocations: 223 kB / 0.8071 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.3905, allocations: 0 / 0.8071 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002594/0.3907, allocations: 71.89 kB / 0.8072 GB, free: 5.887 MB / 0.6355 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.0006176/0.3913, allocations: 0.9177 MB / 0.8081 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002351/0.3916, allocations: 160 kB / 0.8082 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3916, allocations: 0 / 0.8082 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.177e-05/0.3917, allocations: 73.02 kB / 0.8083 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.3921, allocations: 150.7 kB / 0.8085 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.3945, allocations: 2.815 MB / 0.8112 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.3946, allocations: 175.8 kB / 0.8114 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001373/0.3948, allocations: 62.92 kB / 0.8114 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.723e-05/0.3949, allocations: 92.47 kB / 0.8115 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of SimCode: time 3.91e-07/0.3949, allocations: 0 / 0.8115 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.4175, allocations: 9.325 MB / 0.8206 GB, free: 8.273 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.653/7.071, allocations: 3.094 kB / 0.8206 GB, free: 8.273 MB / 0.6511 GB " [Timeout remaining time 653] (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: 9.615389440208673] Failed to read output from testmodel.py, exit status != 0: 7.152272178791463 7.160233056 6.775084759 Calling exit ...