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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7999/0.7999, allocations: 143.4 MB / 159.2 MB, free: 4.93 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 189.9 kB / 191.9 MB, free: 5.707 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 447.3 MB, free: 5.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 119.4 kB / 0.517 GB, free: 3.695 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001812/0.001812, allocations: 283.2 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001397, allocations: 75.89 kB / 0.6885 GB, free: 3.828 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3243, allocations: 81.3 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4607/0.7851, allocations: 165.3 MB / 0.9293 GB, free: 416 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.005804/0.7909, allocations: 6.547 MB / 0.9357 GB, free: 252 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005069/0.7914, allocations: 11.72 kB / 0.9357 GB, free: 252 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005587/0.792, allocations: 135.8 kB / 0.9359 GB, free: 248 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002059/0.7941, allocations: 0.7868 MB / 0.9366 GB, free: 208 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008014/0.7949, allocations: 292.2 kB / 0.9369 GB, free: 200 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0009279/0.7958, allocations: 1.011 MB / 0.9379 GB, free: 196 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003266/0.7962, allocations: 235.7 kB / 0.9381 GB, free: 168 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000997/0.7972, allocations: 0.5114 MB / 0.9386 GB, free: 156 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003652/0.7976, allocations: 287.6 kB / 0.9389 GB, free: 152 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.657e-05/0.7976, allocations: 16.25 kB / 0.9389 GB, free: 152 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006737/0.7983, allocations: 395.2 kB / 0.9393 GB, free: 148 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.7984, allocations: 99 kB / 0.9394 GB, free: 148 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.7987, allocations: 156.8 kB / 0.9395 GB, free: 148 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0006227/0.7993, allocations: 480.2 kB / 0.94 GB, free: 116 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7993, allocations: 0 / 0.94 GB, free: 116 kB / 0.5573 GB Notification: Performance of FrontEnd: time 8.82e-07/0.7993, allocations: 0.5625 kB / 0.94 GB, free: 116 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.7993, allocations: 0 / 0.94 GB, free: 116 kB / 0.5573 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.0009466/0.8003, allocations: 0.6237 MB / 0.9406 GB, free: 15.64 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.8003, allocations: 9.438 kB / 0.9406 GB, free: 15.64 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003116/0.8006, allocations: 58.39 kB / 0.9407 GB, free: 15.63 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003832/0.801, allocations: 312.5 kB / 0.941 GB, free: 15.39 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.8011, allocations: 18.78 kB / 0.941 GB, free: 15.39 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.8011, allocations: 28.06 kB / 0.941 GB, free: 15.39 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000486/0.8016, allocations: 319.3 kB / 0.9413 GB, free: 15.3 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.8016, allocations: 0 / 0.9413 GB, free: 15.3 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.8016, allocations: 10.89 kB / 0.9413 GB, free: 15.3 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.8017, allocations: 6.594 kB / 0.9413 GB, free: 15.3 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003813/0.8021, allocations: 209.4 kB / 0.9415 GB, free: 15.3 MB / 0.573 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.001347/0.8034, allocations: 1.535 MB / 0.943 GB, free: 14.15 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.8037, allocations: 125.4 kB / 0.9432 GB, free: 14.12 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.8038, allocations: 94.31 kB / 0.9433 GB, free: 14.11 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006107/0.8045, allocations: 302.6 kB / 0.9435 GB, free: 13.82 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.8045, allocations: 34.94 kB / 0.9436 GB, free: 13.79 MB / 0.573 GB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.8045, allocations: 0 / 0.9436 GB, free: 13.79 MB / 0.573 GB Notification: Performance of matching and sorting (n=13): time 0.0006878/0.8052, allocations: 274.9 kB / 0.9438 GB, free: 13.73 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.8053, allocations: 54.47 kB / 0.9439 GB, free: 13.67 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/0.8055, allocations: 310.4 kB / 0.9442 GB, free: 13.57 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.8056, allocations: 28.95 kB / 0.9442 GB, free: 13.54 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.8057, allocations: 186.3 kB / 0.9444 GB, free: 13.43 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.8057, allocations: 39 kB / 0.9444 GB, free: 13.4 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.073e-05/0.8058, allocations: 39.11 kB / 0.9445 GB, free: 13.38 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.8059, allocations: 338.6 kB / 0.9448 GB, free: 13.07 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.806, allocations: 62.8 kB / 0.9448 GB, free: 13.07 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.8062, allocations: 110.8 kB / 0.945 GB, free: 13.02 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.8065, allocations: 175.3 kB / 0.9451 GB, free: 12.97 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.8065, allocations: 0 / 0.9451 GB, free: 12.97 MB / 0.573 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003854/0.8069, allocations: 220.7 kB / 0.9453 GB, free: 12.91 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.8069, allocations: 8.031 kB / 0.9453 GB, free: 12.91 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.807, allocations: 1.781 kB / 0.9453 GB, free: 12.91 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.807, allocations: 2.781 kB / 0.9453 GB, free: 12.91 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.8071, allocations: 38.78 kB / 0.9454 GB, free: 12.91 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.8072, allocations: 2.469 kB / 0.9454 GB, free: 12.91 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.8074, allocations: 38.73 kB / 0.9454 GB, free: 12.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.8074, allocations: 10.47 kB / 0.9454 GB, free: 12.89 MB / 0.573 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.0001688/0.8076, allocations: 151.8 kB / 0.9456 GB, free: 12.78 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.709e-05/0.8076, allocations: 24.53 kB / 0.9456 GB, free: 12.77 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004019/0.808, allocations: 210.4 kB / 0.9458 GB, free: 12.73 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.8081, allocations: 2.781 kB / 0.9458 GB, free: 12.73 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.8081, allocations: 0 / 0.9458 GB, free: 12.73 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.8081, allocations: 4 kB / 0.9458 GB, free: 12.72 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009495/0.809, allocations: 0.6884 MB / 0.9465 GB, free: 12.36 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.809, allocations: 8.578 kB / 0.9465 GB, free: 12.35 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.8092, allocations: 23.53 kB / 0.9465 GB, free: 12.35 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.8092, allocations: 5.406 kB / 0.9465 GB, free: 12.35 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.8092, allocations: 9.625 kB / 0.9465 GB, free: 12.35 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.8092, allocations: 5.812 kB / 0.9465 GB, free: 12.34 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.8092, allocations: 2.219 kB / 0.9465 GB, free: 12.34 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008183/0.8101, allocations: 1.003 MB / 0.9475 GB, free: 11.55 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.8102, allocations: 119.6 kB / 0.9476 GB, free: 11.44 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.8102, allocations: 7.125 kB / 0.9476 GB, free: 11.44 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.8104, allocations: 21.34 kB / 0.9476 GB, free: 11.44 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.8105, allocations: 21.89 kB / 0.9477 GB, free: 11.43 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.8105, allocations: 4.406 kB / 0.9477 GB, free: 11.43 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001958/0.8107, allocations: 224.1 kB / 0.9479 GB, free: 11.35 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8107, allocations: 0 / 0.9479 GB, free: 11.35 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004853/0.8112, allocations: 78.03 kB / 0.948 GB, free: 11.34 MB / 0.573 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.0004056/0.8116, allocations: 159.8 kB / 0.9481 GB, free: 11.23 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0003656/0.812, allocations: 155.2 kB / 0.9483 GB, free: 11.23 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.812, allocations: 320 / 0.9483 GB, free: 11.23 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.8122, allocations: 90.28 kB / 0.9483 GB, free: 11.23 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008209/0.813, allocations: 138.7 kB / 0.9485 GB, free: 11.21 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.814, allocations: 0.7807 MB / 0.9492 GB, free: 10.68 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.8144, allocations: 0.7833 MB / 0.95 GB, free: 9.984 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000196/0.8146, allocations: 62.34 kB / 0.9501 GB, free: 9.973 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.617e-05/0.8147, allocations: 26.59 kB / 0.9501 GB, free: 9.961 MB / 0.573 GB Notification: Performance of SimCode: time 2.71e-07/0.8147, allocations: 0 / 0.9501 GB, free: 9.961 MB / 0.573 GB Notification: Performance of Templates: time 0.009317/0.824, allocations: 4.987 MB / 0.955 GB, free: 9.648 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (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)