Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001394/0.001394, allocations: 110.2 kB / 16.41 MB, free: 6.5 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.001353/0.001353, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002631/0.002631, allocations: 289.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003566/0.003566, allocations: 99.84 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4707/0.4743, allocations: 86.97 MB / 0.7671 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1978/0.672, allocations: 169.9 MB / 0.933 GB, free: 9.332 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.009546/0.6816, allocations: 7.144 MB / 0.9399 GB, free: 2.176 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005569/0.6821, allocations: 19.88 kB / 0.94 GB, free: 2.156 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006023/0.6827, allocations: 170.7 kB / 0.9401 GB, free: 1.988 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003314/0.686, allocations: 1.315 MB / 0.9414 GB, free: 0.668 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001678/0.6877, allocations: 0.6324 MB / 0.942 GB, free: 40 kB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001007/0.6887, allocations: 0.7602 MB / 0.9428 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005108/0.6892, allocations: 257.1 kB / 0.943 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001333/0.6906, allocations: 0.5838 MB / 0.9436 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008501/0.6914, allocations: 426.5 kB / 0.944 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.124e-05/0.6915, allocations: 28 kB / 0.944 GB, free: 14 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002409/0.6939, allocations: 1.243 MB / 0.9452 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.694, allocations: 131.6 kB / 0.9454 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.6943, allocations: 175.1 kB / 0.9455 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.6959, allocations: 0.9069 MB / 0.9464 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6959, allocations: 0 / 0.9464 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6959, allocations: 0 / 0.9464 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.6959, allocations: 3.984 kB / 0.9464 GB, free: 11.54 MB / 0.7169 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.001142/0.6971, allocations: 0.712 MB / 0.9471 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.6971, allocations: 12.02 kB / 0.9471 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.6981, allocations: 123.6 kB / 0.9472 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006748/0.6988, allocations: 353.3 kB / 0.9476 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.028e-05/0.6989, allocations: 46.27 kB / 0.9476 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.037e-05/0.699, allocations: 24 kB / 0.9476 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007193/0.6997, allocations: 370.1 kB / 0.948 GB, free: 9.809 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.6997, allocations: 4 kB / 0.948 GB, free: 9.805 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.317e-05/0.6997, allocations: 12 kB / 0.948 GB, free: 9.793 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.6997, allocations: 8 kB / 0.948 GB, free: 9.785 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005494/0.7003, allocations: 274 kB / 0.9483 GB, free: 9.52 MB / 0.7169 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.002093/0.7024, allocations: 1.492 MB / 0.9497 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004139/0.7028, allocations: 186.6 kB / 0.9499 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.703, allocations: 108.8 kB / 0.95 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/0.704, allocations: 0.5091 MB / 0.9505 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.7041, allocations: 38.44 kB / 0.9506 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.954e-06/0.7041, allocations: 0 / 0.9506 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.001014/0.7051, allocations: 357.3 kB / 0.9509 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.7051, allocations: 55.41 kB / 0.9509 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000361/0.7055, allocations: 316.5 kB / 0.9512 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.047e-05/0.7055, allocations: 29.7 kB / 0.9513 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.7057, allocations: 184.3 kB / 0.9515 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.776e-05/0.7058, allocations: 63.5 kB / 0.9515 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.927e-05/0.7059, allocations: 49.66 kB / 0.9516 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.706, allocations: 338.8 kB / 0.9519 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.7062, allocations: 79.94 kB / 0.952 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.7065, allocations: 149.9 kB / 0.9521 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004511/0.707, allocations: 243.4 kB / 0.9523 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.707, allocations: 4 kB / 0.9523 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006188/0.7076, allocations: 281.2 kB / 0.9526 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.7076, allocations: 7.984 kB / 0.9526 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.7076, allocations: 4 kB / 0.9526 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.7076, allocations: 4 kB / 0.9526 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.7079, allocations: 31.98 kB / 0.9527 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.7079, allocations: 12.12 kB / 0.9527 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.7081, allocations: 35.77 kB / 0.9527 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.7081, allocations: 15.98 kB / 0.9527 GB, free: 4.637 MB / 0.7169 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.0001825/0.7083, allocations: 152.2 kB / 0.9529 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.7084, allocations: 27.81 kB / 0.9529 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007416/0.7092, allocations: 324.1 kB / 0.9532 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.7092, allocations: 0 / 0.9532 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.7092, allocations: 0 / 0.9532 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.7092, allocations: 0 / 0.9532 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.7106, allocations: 0.8122 MB / 0.954 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.7106, allocations: 0 / 0.954 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.7108, allocations: 35.97 kB / 0.954 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.7108, allocations: 4 kB / 0.954 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.7108, allocations: 11.94 kB / 0.954 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.7108, allocations: 0 / 0.954 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.7108, allocations: 8.156 kB / 0.954 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006532/0.7115, allocations: 408.2 kB / 0.9544 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.7117, allocations: 136.9 kB / 0.9546 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.7117, allocations: 7.938 kB / 0.9546 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/0.7119, allocations: 15.98 kB / 0.9546 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.527e-05/0.712, allocations: 15.98 kB / 0.9546 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.712, allocations: 8 kB / 0.9546 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002458/0.7123, allocations: 231 kB / 0.9548 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7123, allocations: 0 / 0.9548 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005466/0.7128, allocations: 123.7 kB / 0.9549 GB, free: 2.199 MB / 0.7169 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.000597/0.7134, allocations: 232.1 kB / 0.9552 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005468/0.714, allocations: 223.7 kB / 0.9554 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.714, allocations: 0 / 0.9554 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.7142, allocations: 111.8 kB / 0.9555 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008984/0.7151, allocations: 172.5 kB / 0.9557 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.7163, allocations: 0.6002 MB / 0.9562 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.7167, allocations: 0.7873 MB / 0.957 GB, free: 12 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.3254/1.042, allocations: 83.77 kB / 0.9571 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/1.042, allocations: 27.48 kB / 0.9571 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of SimCode: time 1.122e-06/1.042, allocations: 0 / 0.9571 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.01501/1.057, allocations: 7.354 MB / 0.9643 GB, free: 189.4 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)