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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 112.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 189.4 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.6 MB / 251 MB, free: 13.03 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.002472/0.002472, allocations: 288.7 kB / 306.5 MB, free: 8.34 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.229/1.229, allocations: 180.9 MB / 0.53 GB, free: 14.42 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.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: translateModel(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00272/0.00272, allocations: 105.1 kB / 0.7308 GB, free: 38.67 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1682, allocations: 94.2 MB / 0.8228 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1959/0.3641, allocations: 168.3 MB / 0.9872 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008727/0.3728, allocations: 6.628 MB / 0.9936 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005144/0.3733, allocations: 19.81 kB / 0.9937 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006075/0.3739, allocations: 174.7 kB / 0.9938 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00234/0.3762, allocations: 0.8869 MB / 0.9947 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.3773, allocations: 341.2 kB / 0.995 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009208/0.3782, allocations: 0.7368 MB / 0.9957 GB, free: 140 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004094/0.3786, allocations: 219.8 kB / 0.9959 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.3798, allocations: 0.5799 MB / 0.9965 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004204/0.3802, allocations: 290.8 kB / 0.9968 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.505e-05/0.3803, allocations: 24 kB / 0.9968 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000689/0.381, allocations: 371.1 kB / 0.9972 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.3811, allocations: 107.7 kB / 0.9973 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.3813, allocations: 167.1 kB / 0.9974 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0006955/0.382, allocations: 466.2 kB / 0.9979 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.382, allocations: 0 / 0.9979 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.503e-06/0.382, allocations: 0 / 0.9979 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.382, allocations: 4 kB / 0.9979 GB, free: 13.94 MB / 0.7481 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.0009098/0.3829, allocations: 0.5554 MB / 0.9984 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.383, allocations: 12.03 kB / 0.9984 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000311/0.3833, allocations: 59.67 kB / 0.9985 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005051/0.3838, allocations: 267.6 kB / 0.9987 GB, free: 13 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.3838, allocations: 20.66 kB / 0.9988 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.3838, allocations: 28 kB / 0.9988 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006188/0.3845, allocations: 320.9 kB / 0.9991 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3845, allocations: 0 / 0.9991 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.3845, allocations: 12 kB / 0.9991 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.3845, allocations: 8 kB / 0.9991 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004394/0.385, allocations: 205.5 kB / 0.9993 GB, free: 12.39 MB / 0.7481 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.001698/0.3867, allocations: 1.497 MB / 1.001 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.3869, allocations: 114.5 kB / 1.001 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.3871, allocations: 80.81 kB / 1.001 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005009/0.3876, allocations: 75.91 kB / 1.001 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.3876, allocations: 30.81 kB / 1.001 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.3876, allocations: 4 kB / 1.001 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0007706/0.3884, allocations: 283.5 kB / 1.001 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.3885, allocations: 51.41 kB / 1.001 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003364/0.3888, allocations: 308.5 kB / 1.002 GB, free: 9.785 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.3888, allocations: 29.7 kB / 1.002 GB, free: 9.75 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.389, allocations: 180.2 kB / 1.002 GB, free: 9.57 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.554e-05/0.389, allocations: 51.56 kB / 1.002 GB, free: 9.52 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-05/0.3891, allocations: 41.66 kB / 1.002 GB, free: 9.473 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3892, allocations: 342.8 kB / 1.002 GB, free: 9.129 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.3894, allocations: 55.95 kB / 1.002 GB, free: 9.074 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.3896, allocations: 109.1 kB / 1.002 GB, free: 8.949 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.39, allocations: 180.9 kB / 1.003 GB, free: 8.754 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.39, allocations: 3.938 kB / 1.003 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004404/0.3904, allocations: 221.3 kB / 1.003 GB, free: 8.527 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.3904, allocations: 9.25 kB / 1.003 GB, free: 8.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.3904, allocations: 0 / 1.003 GB, free: 8.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.3904, allocations: 7.938 kB / 1.003 GB, free: 8.512 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.3906, allocations: 27.98 kB / 1.003 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.3906, allocations: 4 kB / 1.003 GB, free: 8.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.3908, allocations: 27.83 kB / 1.003 GB, free: 8.453 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.3908, allocations: 8 kB / 1.003 GB, free: 8.445 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.0001671/0.391, allocations: 154.5 kB / 1.003 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.563e-05/0.3911, allocations: 35.81 kB / 1.003 GB, free: 8.25 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004649/0.3915, allocations: 208.2 kB / 1.003 GB, free: 8.043 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.3915, allocations: 4 kB / 1.003 GB, free: 8.039 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3915, allocations: 0 / 1.003 GB, free: 8.039 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3915, allocations: 3.938 kB / 1.003 GB, free: 8.035 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.3926, allocations: 0.6591 MB / 1.004 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3926, allocations: 224 / 1.004 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.3927, allocations: 31.98 kB / 1.004 GB, free: 7.273 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.3928, allocations: 7.938 kB / 1.004 GB, free: 7.266 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.3928, allocations: 4 kB / 1.004 GB, free: 7.262 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.3928, allocations: 7.938 kB / 1.004 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.3928, allocations: 3.984 kB / 1.004 GB, free: 7.25 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/0.3933, allocations: 334.4 kB / 1.004 GB, free: 6.887 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.639e-05/0.3934, allocations: 39.8 kB / 1.004 GB, free: 6.848 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.3934, allocations: 7.984 kB / 1.004 GB, free: 6.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.3936, allocations: 15.94 kB / 1.004 GB, free: 6.824 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.3936, allocations: 11.98 kB / 1.004 GB, free: 6.812 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.3936, allocations: 4 kB / 1.004 GB, free: 6.809 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002303/0.3939, allocations: 227 kB / 1.005 GB, free: 6.586 MB / 0.7481 GB Notification: Performance of sort global known variables: time 7e-08/0.3939, allocations: 0 / 1.005 GB, free: 6.586 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003917/0.3943, allocations: 71.83 kB / 1.005 GB, free: 6.516 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.000387/0.3946, allocations: 158.3 kB / 1.005 GB, free: 6.359 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004284/0.3951, allocations: 155.8 kB / 1.005 GB, free: 6.207 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3951, allocations: 0 / 1.005 GB, free: 6.207 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.3953, allocations: 83.88 kB / 1.005 GB, free: 6.125 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008335/0.3961, allocations: 156.7 kB / 1.005 GB, free: 5.977 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009656/0.3971, allocations: 0.5406 MB / 1.006 GB, free: 5.387 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.3975, allocations: 0.7834 MB / 1.006 GB, free: 4.578 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001741/0.3977, allocations: 66.94 kB / 1.007 GB, free: 4.516 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.309e-05/0.3977, allocations: 27.42 kB / 1.007 GB, free: 4.488 MB / 0.7481 GB Notification: Performance of SimCode: time 3.01e-07/0.3977, allocations: 0 / 1.007 GB, free: 4.488 MB / 0.7481 GB Notification: Performance of Templates: time 0.4199/0.8177, allocations: 5.247 MB / 1.012 GB, free: 191.4 MB / 0.7481 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.723835528828204] Failed to read output from testmodel.py, exit status != 0: 0.8250597631558776 0.839974253 0.454418213 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f9ff07e57b0>