Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 114.2 kB / 17.02 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 196.1 kB / 17.97 MB, free: 5.113 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.317/1.317, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7396/0.7396, allocations: 115.1 MB / 406.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 67.89 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3307, allocations: 76.13 MB / 0.5576 GB, free: 36.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1658/0.4965, allocations: 169.4 MB / 0.723 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008317/0.5049, allocations: 7.125 MB / 0.73 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004333/0.5053, allocations: 11.94 kB / 0.73 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005673/0.5059, allocations: 170.7 kB / 0.7302 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003733/0.5097, allocations: 1.264 MB / 0.7314 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.5115, allocations: 0.624 MB / 0.732 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008878/0.5123, allocations: 0.764 MB / 0.7327 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004529/0.5128, allocations: 294.8 kB / 0.733 GB, free: 300 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001196/0.514, allocations: 0.5643 MB / 0.7336 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008163/0.5148, allocations: 422.5 kB / 0.734 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.01e-05/0.5149, allocations: 24 kB / 0.734 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002099/0.517, allocations: 1.251 MB / 0.7352 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.5172, allocations: 119.7 kB / 0.7353 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.5174, allocations: 179.1 kB / 0.7355 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.5188, allocations: 0.9038 MB / 0.7364 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5188, allocations: 3.938 kB / 0.7364 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5188, allocations: 0 / 0.7364 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.5188, allocations: 0 / 0.7364 GB, free: 12.83 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009985/0.5198, allocations: 0.6935 MB / 0.7371 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.5199, allocations: 8.031 kB / 0.7371 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.5209, allocations: 143.3 kB / 0.7372 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006132/0.5215, allocations: 349 kB / 0.7375 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.55e-05/0.5216, allocations: 46.27 kB / 0.7376 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.364e-05/0.5216, allocations: 28 kB / 0.7376 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006231/0.5223, allocations: 362.1 kB / 0.738 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.5223, allocations: 7.984 kB / 0.738 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.5223, allocations: 8 kB / 0.738 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.5223, allocations: 8 kB / 0.738 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005142/0.5229, allocations: 278 kB / 0.7383 GB, free: 10.81 MB / 0.5762 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.001939/0.5248, allocations: 1.484 MB / 0.7397 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003955/0.5252, allocations: 194.5 kB / 0.7399 GB, free: 9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.5254, allocations: 120.8 kB / 0.74 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009863/0.5264, allocations: 0.5052 MB / 0.7405 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.5265, allocations: 34.56 kB / 0.7405 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/0.5265, allocations: 0 / 0.7405 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0009354/0.5274, allocations: 353.1 kB / 0.7409 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.5275, allocations: 59.41 kB / 0.7409 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.5278, allocations: 316.5 kB / 0.7412 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.5278, allocations: 25.7 kB / 0.7412 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.5279, allocations: 184.1 kB / 0.7414 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.528, allocations: 51.2 kB / 0.7415 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.112e-05/0.5281, allocations: 41.7 kB / 0.7415 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.5282, allocations: 342.8 kB / 0.7418 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.5284, allocations: 87.94 kB / 0.7419 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.5286, allocations: 149.9 kB / 0.7421 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/0.529, allocations: 244.3 kB / 0.7423 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.5291, allocations: 4 kB / 0.7423 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006015/0.5297, allocations: 285 kB / 0.7426 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.5297, allocations: 8 kB / 0.7426 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.5297, allocations: 3.984 kB / 0.7426 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.5297, allocations: 7.938 kB / 0.7426 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.53, allocations: 43.91 kB / 0.7426 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.53, allocations: 0 / 0.7426 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.5302, allocations: 35.67 kB / 0.7427 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.5302, allocations: 8.188 kB / 0.7427 GB, free: 5.941 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001561/0.5304, allocations: 161.7 kB / 0.7428 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.5305, allocations: 27.7 kB / 0.7429 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006766/0.5312, allocations: 316.4 kB / 0.7432 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.5312, allocations: 0 / 0.7432 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5312, allocations: 4 kB / 0.7432 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5312, allocations: 8 kB / 0.7432 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.5327, allocations: 0.8005 MB / 0.744 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.5327, allocations: 4.094 kB / 0.744 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.5329, allocations: 39.86 kB / 0.744 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.5329, allocations: 4 kB / 0.744 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.5329, allocations: 11.92 kB / 0.744 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.5329, allocations: 4 kB / 0.744 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.5329, allocations: 0 / 0.744 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005884/0.5335, allocations: 401.1 kB / 0.7444 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.5337, allocations: 140.7 kB / 0.7445 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.64e-05/0.5338, allocations: 11.92 kB / 0.7445 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.534, allocations: 15.98 kB / 0.7446 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.5341, allocations: 15.92 kB / 0.7446 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.5341, allocations: 12 kB / 0.7446 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002106/0.5343, allocations: 227 kB / 0.7448 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5343, allocations: 0 / 0.7448 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004925/0.5348, allocations: 127.8 kB / 0.7449 GB, free: 3.492 MB / 0.5762 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 (16): * Single equations (assignments): 16 * 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.0006022/0.5354, allocations: 220.9 kB / 0.7451 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004835/0.5359, allocations: 227.2 kB / 0.7453 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.5359, allocations: 4.375 kB / 0.7454 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.5362, allocations: 119.8 kB / 0.7455 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007887/0.537, allocations: 160.6 kB / 0.7456 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.538, allocations: 0.5944 MB / 0.7462 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.5384, allocations: 0.7834 MB / 0.747 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002488/0.5387, allocations: 89.17 kB / 0.7471 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.977e-05/0.5388, allocations: 27.44 kB / 0.7471 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of SimCode: time 7.01e-07/0.5388, allocations: 0 / 0.7471 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of Templates: time 0.2243/0.7631, allocations: 7.275 MB / 0.7542 GB, free: 175.5 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)