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.001624/0.001624, allocations: 110.5 kB / 17.6 MB, free: 4.703 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.001783/0.001783, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.444/1.444, allocations: 225.6 MB / 249.4 MB, free: 3.164 MB / 190.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.00246/0.00246, allocations: 292.9 kB / 304.8 MB, free: 3.523 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.058/1.058, allocations: 180.9 MB / 0.5282 GB, free: 1.953 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.002819/0.002819, allocations: 99.83 kB / 0.7283 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5782/0.581, allocations: 94.16 MB / 0.8203 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2069/0.7879, allocations: 168.3 MB / 0.9846 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008244/0.7962, allocations: 6.614 MB / 0.9911 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005356/0.7967, allocations: 11.94 kB / 0.9911 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007056/0.7974, allocations: 186.7 kB / 0.9913 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002257/0.7997, allocations: 0.8713 MB / 0.9921 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009862/0.8007, allocations: 332.7 kB / 0.9924 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009403/0.8016, allocations: 0.725 MB / 0.9931 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003983/0.802, allocations: 214.9 kB / 0.9934 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.8032, allocations: 0.572 MB / 0.9939 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003694/0.8035, allocations: 283 kB / 0.9942 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.972e-05/0.8036, allocations: 24 kB / 0.9942 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006248/0.8042, allocations: 367.1 kB / 0.9946 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.8043, allocations: 115.6 kB / 0.9947 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.8045, allocations: 159.2 kB / 0.9948 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006714/0.8052, allocations: 470.1 kB / 0.9953 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.8052, allocations: 4 kB / 0.9953 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8052, allocations: 0 / 0.9953 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.8052, allocations: 0 / 0.9953 GB, free: 10.01 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.0008859/0.8061, allocations: 0.623 MB / 0.9959 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.8061, allocations: 12.03 kB / 0.9959 GB, free: 9.328 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002949/0.8064, allocations: 59.73 kB / 0.9959 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005212/0.8069, allocations: 337.2 kB / 0.9963 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.8069, allocations: 20.56 kB / 0.9963 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.807, allocations: 27.98 kB / 0.9963 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005361/0.8075, allocations: 319.7 kB / 0.9966 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.8075, allocations: 4 kB / 0.9966 GB, free: 8.516 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.8076, allocations: 11.98 kB / 0.9966 GB, free: 8.504 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.8076, allocations: 8 kB / 0.9966 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004145/0.808, allocations: 201.5 kB / 0.9968 GB, free: 8.297 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.001601/0.8096, allocations: 1.523 MB / 0.9983 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.8098, allocations: 130.4 kB / 0.9984 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.81, allocations: 84.8 kB / 0.9985 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005956/0.8106, allocations: 307.2 kB / 0.9988 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.8106, allocations: 30.56 kB / 0.9988 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.8106, allocations: 0 / 0.9988 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0007438/0.8114, allocations: 273.6 kB / 0.9991 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.8114, allocations: 59.39 kB / 0.9992 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/0.8118, allocations: 304.6 kB / 0.9995 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.8118, allocations: 29.7 kB / 0.9995 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.812, allocations: 192.2 kB / 0.9997 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.812, allocations: 43.58 kB / 0.9997 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.36e-05/0.8121, allocations: 45.66 kB / 0.9998 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.8122, allocations: 334.8 kB / 1 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.8124, allocations: 55.95 kB / 1 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.8125, allocations: 115.1 kB / 1 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.8129, allocations: 180.9 kB / 1 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.8129, allocations: 7.875 kB / 1 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003947/0.8133, allocations: 209.3 kB / 1.001 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.8133, allocations: 12.16 kB / 1.001 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.8133, allocations: 0 / 1.001 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.8133, allocations: 4 kB / 1.001 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.8135, allocations: 39.91 kB / 1.001 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.8135, allocations: 4 kB / 1.001 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.8137, allocations: 27.77 kB / 1.001 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.8137, allocations: 8 kB / 1.001 GB, free: 4.02 MB / 0.7325 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.0001437/0.8138, allocations: 153.7 kB / 1.001 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.8139, allocations: 31.81 kB / 1.001 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004234/0.8143, allocations: 204.3 kB / 1.001 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.8143, allocations: 4 kB / 1.001 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.8143, allocations: 0 / 1.001 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.8143, allocations: 0 / 1.001 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.8153, allocations: 0.6873 MB / 1.002 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.8153, allocations: 4 kB / 1.002 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.8154, allocations: 24.03 kB / 1.002 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.8155, allocations: 12.14 kB / 1.002 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.8155, allocations: 8.062 kB / 1.002 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.8155, allocations: 7.938 kB / 1.002 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.8155, allocations: 7.938 kB / 1.002 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004402/0.8159, allocations: 336.3 kB / 1.002 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.816, allocations: 124.8 kB / 1.002 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/0.8161, allocations: 7.984 kB / 1.002 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.8162, allocations: 7.938 kB / 1.002 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.8163, allocations: 23.92 kB / 1.002 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.8163, allocations: 4 kB / 1.002 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002251/0.8165, allocations: 223 kB / 1.003 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8165, allocations: 0 / 1.003 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000376/0.8169, allocations: 71.89 kB / 1.003 GB, free: 1.957 MB / 0.7325 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.0003804/0.8173, allocations: 144.7 kB / 1.003 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004049/0.8177, allocations: 148.1 kB / 1.003 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8177, allocations: 4.062 kB / 1.003 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.8179, allocations: 83.83 kB / 1.003 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007654/0.8186, allocations: 161.8 kB / 1.003 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000865/0.8195, allocations: 0.5517 MB / 1.004 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.8199, allocations: 0.7795 MB / 1.004 GB, free: 20 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001853/0.8201, allocations: 66.94 kB / 1.004 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.825e-05/0.8201, allocations: 19.44 kB / 1.004 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of SimCode: time 6.41e-07/0.8201, allocations: 4 kB / 1.004 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of Templates: time 0.01005/0.8302, allocations: 5.213 MB / 1.01 GB, free: 10.8 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.593735946342349]