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.001563/0.001563, allocations: 76.94 kB / 19.18 MB, free: 2.52 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.001722/0.001722, allocations: 166.6 kB / 22.46 MB, free: 5.375 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.47/1.47, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.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.002604/0.002604, allocations: 237.2 kB / 259.4 MB, free: 464 kB / 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.081/1.081, allocations: 138.4 MB / 454.3 MB, free: 2.012 MB / 366.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: 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 3.257e-06/3.257e-06, allocations: 3.984 kB / 0.6468 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.548e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4957/0.4957, allocations: 147.7 MB / 0.7911 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009865/0.5056, allocations: 5.988 MB / 0.7969 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005487/0.5061, allocations: 19.81 kB / 0.7969 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007249/0.5068, allocations: 166.7 kB / 0.7971 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002541/0.5094, allocations: 0.8628 MB / 0.7979 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.5105, allocations: 378.3 kB / 0.7983 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001021/0.5115, allocations: 0.7211 MB / 0.799 GB, free: 4.602 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004505/0.512, allocations: 210.8 kB / 0.7992 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001372/0.5134, allocations: 0.6695 MB / 0.7999 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004416/0.5138, allocations: 247.3 kB / 0.8001 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.278e-05/0.5139, allocations: 20 kB / 0.8001 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006687/0.5145, allocations: 307.1 kB / 0.8004 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002052/0.5147, allocations: 115.6 kB / 0.8005 GB, free: 3.047 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.5149, allocations: 111.7 kB / 0.8006 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0008398/0.5157, allocations: 494.5 kB / 0.8011 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.5157, allocations: 0 / 0.8011 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5157, allocations: 0 / 0.8011 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.5157, allocations: 0 / 0.8011 GB, free: 2.453 MB / 0.6231 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.001025/0.5168, allocations: 0.5437 MB / 0.8016 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.5168, allocations: 9.344 kB / 0.8016 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003197/0.5171, allocations: 67.73 kB / 0.8017 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005735/0.5177, allocations: 252 kB / 0.8019 GB, free: 1.531 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.5177, allocations: 28.64 kB / 0.802 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.595e-05/0.5178, allocations: 24 kB / 0.802 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005931/0.5184, allocations: 321 kB / 0.8023 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.5184, allocations: 1.312 kB / 0.8023 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/0.5184, allocations: 12 kB / 0.8023 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.5184, allocations: 8 kB / 0.8023 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004549/0.5189, allocations: 201.8 kB / 0.8025 GB, free: 0.9219 MB / 0.6231 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.001659/0.5205, allocations: 1.126 MB / 0.8036 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.5208, allocations: 110.5 kB / 0.8037 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.521, allocations: 84.8 kB / 0.8038 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005012/0.5215, allocations: 71.92 kB / 0.8039 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.5216, allocations: 34.56 kB / 0.8039 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=13): time 2.064e-06/0.5216, allocations: 0 / 0.8039 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13): time 0.0008362/0.5224, allocations: 275.5 kB / 0.8042 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.5224, allocations: 59.41 kB / 0.8042 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/0.5227, allocations: 225.9 kB / 0.8044 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.5228, allocations: 32.89 kB / 0.8045 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.5229, allocations: 200.1 kB / 0.8046 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.523, allocations: 43.58 kB / 0.8047 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.251e-05/0.5231, allocations: 33.72 kB / 0.8047 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002012/0.5233, allocations: 338.8 kB / 0.805 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.5234, allocations: 62.77 kB / 0.8051 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.5237, allocations: 186.2 kB / 0.8053 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004326/0.5241, allocations: 174.4 kB / 0.8054 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5241, allocations: 0 / 0.8054 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004639/0.5246, allocations: 217.4 kB / 0.8057 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.5246, allocations: 8 kB / 0.8057 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.5246, allocations: 3.938 kB / 0.8057 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.5246, allocations: 7.938 kB / 0.8057 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.5248, allocations: 27.98 kB / 0.8057 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.5248, allocations: 7.984 kB / 0.8057 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.525, allocations: 11.95 kB / 0.8057 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/0.525, allocations: 15.98 kB / 0.8057 GB, free: 13.43 MB / 0.6387 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.0001806/0.5252, allocations: 153.8 kB / 0.8059 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/0.5252, allocations: 23.86 kB / 0.8059 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004848/0.5257, allocations: 200.3 kB / 0.8061 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.5257, allocations: 0 / 0.8061 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5257, allocations: 0 / 0.8061 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.5257, allocations: 3.938 kB / 0.8061 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.5268, allocations: 0.5989 MB / 0.8067 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.5268, allocations: 4 kB / 0.8067 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.527, allocations: 23.98 kB / 0.8067 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.842e-06/0.527, allocations: 4 kB / 0.8067 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.527, allocations: 7.984 kB / 0.8067 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.527, allocations: 7.938 kB / 0.8067 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.527, allocations: 4.219 kB / 0.8067 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005121/0.5275, allocations: 325.2 kB / 0.807 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.5277, allocations: 43.78 kB / 0.8071 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.5277, allocations: 7.094 kB / 0.8071 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.5278, allocations: 15.98 kB / 0.8071 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.5279, allocations: 15.77 kB / 0.8071 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.5279, allocations: 4 kB / 0.8071 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000163/0.5281, allocations: 169.2 kB / 0.8073 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5281, allocations: 4 kB / 0.8073 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004114/0.5285, allocations: 79.78 kB / 0.8074 GB, free: 11.66 MB / 0.6387 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.0002997/0.5288, allocations: 142 kB / 0.8075 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004539/0.5292, allocations: 161.5 kB / 0.8077 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.5292, allocations: 0 / 0.8077 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.5294, allocations: 75.89 kB / 0.8077 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006671/0.5301, allocations: 90.06 kB / 0.8078 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009981/0.5311, allocations: 0.5122 MB / 0.8083 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.5314, allocations: 179.3 kB / 0.8085 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001552/0.5315, allocations: 49.92 kB / 0.8085 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.419e-05/0.5316, allocations: 20.5 kB / 0.8086 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of SimCode: time 5.21e-07/0.5316, allocations: 0 / 0.8086 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of Templates: time 0.009468/0.541, allocations: 3.67 MB / 0.8121 GB, free: 6.848 MB / 0.6387 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.256728231906891] Failed to read output from testmodel.py, exit status != 0: 0.5499957762658596 0.566165825 0.047040511 Calling exit ...