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) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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=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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 195.4 kB / 16.63 MB, free: 6.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 240.3 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002002/0.002002, allocations: 283 kB / 290.8 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9409/0.9409, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 107.8 kB / 0.6814 GB, free: 15.53 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1967, allocations: 86.97 MB / 0.7663 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5692/0.7659, allocations: 167.5 MB / 0.9299 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0111/0.7771, allocations: 6.542 MB / 0.9363 GB, free: 4.762 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005825/0.7777, allocations: 11.94 kB / 0.9363 GB, free: 4.75 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007125/0.7784, allocations: 170.7 kB / 0.9365 GB, free: 4.582 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002958/0.7815, allocations: 0.8362 MB / 0.9373 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.7829, allocations: 332 kB / 0.9376 GB, free: 3.422 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001206/0.7841, allocations: 0.7135 MB / 0.9383 GB, free: 2.707 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006249/0.7848, allocations: 290.2 kB / 0.9386 GB, free: 2.43 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00179/0.7866, allocations: 0.5486 MB / 0.9391 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006253/0.7872, allocations: 267 kB / 0.9394 GB, free: 1.617 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 6.023e-05/0.7873, allocations: 20 kB / 0.9394 GB, free: 1.598 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.7884, allocations: 343.2 kB / 0.9397 GB, free: 1.262 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.7886, allocations: 107.7 kB / 0.9398 GB, free: 1.156 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0002699/0.7889, allocations: 167.1 kB / 0.94 GB, free: 0.9922 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0009827/0.7899, allocations: 473.6 kB / 0.9405 GB, free: 0.5312 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7899, allocations: 0 / 0.9405 GB, free: 0.5312 MB / 0.6856 GB Notification: Performance of FrontEnd: time 7.682e-05/0.79, allocations: 7.984 kB / 0.9405 GB, free: 0.5234 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.7901, allocations: 0 / 0.9405 GB, free: 0.5234 MB / 0.6856 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.001383/0.7915, allocations: 0.6123 MB / 0.9411 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.7915, allocations: 8.031 kB / 0.9411 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005351/0.7921, allocations: 63.48 kB / 0.9411 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007375/0.7928, allocations: 329.2 kB / 0.9414 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.879e-05/0.7929, allocations: 20.56 kB / 0.9415 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.993e-05/0.793, allocations: 24 kB / 0.9415 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008427/0.7938, allocations: 315.7 kB / 0.9418 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.7938, allocations: 4 kB / 0.9418 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.033e-05/0.7939, allocations: 8 kB / 0.9418 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.7939, allocations: 11.94 kB / 0.9418 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007537/0.7947, allocations: 205.5 kB / 0.942 GB, free: 14.83 MB / 0.7012 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.00267/0.7974, allocations: 1.53 MB / 0.9435 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/0.7978, allocations: 126.4 kB / 0.9436 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003183/0.7982, allocations: 85.44 kB / 0.9437 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009128/0.7991, allocations: 307.2 kB / 0.944 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.086e-05/0.7992, allocations: 30.56 kB / 0.944 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=13): time 2.484e-06/0.7992, allocations: 0 / 0.944 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of matching and sorting (n=13): time 0.001296/0.8005, allocations: 289.3 kB / 0.9443 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.8006, allocations: 55.34 kB / 0.9444 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005051/0.8011, allocations: 308.5 kB / 0.9446 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.8011, allocations: 29.7 kB / 0.9447 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.8013, allocations: 176.2 kB / 0.9448 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.8015, allocations: 43.36 kB / 0.9449 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.8016, allocations: 37.72 kB / 0.9449 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.8018, allocations: 338.8 kB / 0.9452 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/0.8021, allocations: 63.86 kB / 0.9453 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003595/0.8025, allocations: 109.1 kB / 0.9454 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005875/0.8031, allocations: 178.9 kB / 0.9456 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.8031, allocations: 0 / 0.9456 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007759/0.8039, allocations: 221.1 kB / 0.9458 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.8039, allocations: 5.875 kB / 0.9458 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.804, allocations: 4 kB / 0.9458 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.804, allocations: 7.922 kB / 0.9458 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.8043, allocations: 31.98 kB / 0.9458 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.8044, allocations: 0 / 0.9458 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003114/0.8047, allocations: 39.83 kB / 0.9459 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.084e-05/0.8047, allocations: 8 kB / 0.9459 GB, free: 10.55 MB / 0.7012 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.0002328/0.805, allocations: 154.4 kB / 0.946 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.281e-05/0.8051, allocations: 23.72 kB / 0.9461 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007457/0.8058, allocations: 216.8 kB / 0.9463 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.8059, allocations: 4 kB / 0.9463 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.8059, allocations: 0 / 0.9463 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.8059, allocations: 4 kB / 0.9463 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.8077, allocations: 0.6796 MB / 0.9469 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.8077, allocations: 4 kB / 0.9469 GB, free: 9.383 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/0.808, allocations: 27.98 kB / 0.947 GB, free: 9.355 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/0.808, allocations: 4 kB / 0.947 GB, free: 9.352 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.808, allocations: 3.625 kB / 0.947 GB, free: 9.352 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.55e-05/0.8081, allocations: 15.86 kB / 0.947 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.8081, allocations: 4 kB / 0.947 GB, free: 9.332 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007797/0.8089, allocations: 329.2 kB / 0.9473 GB, free: 8.973 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.8091, allocations: 124.7 kB / 0.9474 GB, free: 8.832 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.742e-05/0.8092, allocations: 8 kB / 0.9474 GB, free: 8.824 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002991/0.8095, allocations: 7.938 kB / 0.9474 GB, free: 8.816 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.438e-05/0.8096, allocations: 11.98 kB / 0.9474 GB, free: 8.805 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.8096, allocations: 8 kB / 0.9475 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000419/0.81, allocations: 223 kB / 0.9477 GB, free: 8.582 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.21e-07/0.81, allocations: 0 / 0.9477 GB, free: 8.582 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007075/0.8108, allocations: 75.84 kB / 0.9477 GB, free: 8.508 MB / 0.7012 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.0005323/0.8113, allocations: 164.7 kB / 0.9479 GB, free: 8.344 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0006859/0.812, allocations: 168.5 kB / 0.9481 GB, free: 8.184 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.812, allocations: 0 / 0.9481 GB, free: 8.184 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003765/0.8124, allocations: 79.88 kB / 0.9481 GB, free: 8.105 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/0.814, allocations: 149.4 kB / 0.9483 GB, free: 7.965 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.8154, allocations: 0.5447 MB / 0.9488 GB, free: 7.371 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005637/0.816, allocations: 0.7795 MB / 0.9496 GB, free: 6.566 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0003809/0.8164, allocations: 56.89 kB / 0.9496 GB, free: 6.512 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.8165, allocations: 23.44 kB / 0.9496 GB, free: 6.488 MB / 0.7012 GB Notification: Performance of SimCode: time 6.41e-07/0.8166, allocations: 0 / 0.9496 GB, free: 6.488 MB / 0.7012 GB Notification: Performance of Templates: time 0.01851/0.8351, allocations: 5.13 MB / 0.9547 GB, free: 1.453 MB / 0.7012 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)