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.001094/0.001093, allocations: 103 kB / 16.36 MB, free: 6.336 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.001179/0.001179, allocations: 198.3 kB / 17.3 MB, free: 5.883 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.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002068/0.002068, allocations: 277.3 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8964/0.8964, allocations: 169.3 MB / 0.4989 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 102.9 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1558, allocations: 86.97 MB / 0.6816 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4506/0.6064, allocations: 169.4 MB / 0.847 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007451/0.6139, allocations: 7.135 MB / 0.854 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004318/0.6144, allocations: 11.94 kB / 0.854 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005248/0.6149, allocations: 174.7 kB / 0.8542 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00286/0.6179, allocations: 1.26 MB / 0.8554 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.6194, allocations: 0.6356 MB / 0.856 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0007637/0.6201, allocations: 0.7641 MB / 0.8568 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003912/0.6205, allocations: 285.6 kB / 0.8571 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009539/0.6215, allocations: 0.5721 MB / 0.8576 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007012/0.6222, allocations: 426.5 kB / 0.858 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.552e-05/0.6223, allocations: 28 kB / 0.8581 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001935/0.6242, allocations: 1.243 MB / 0.8593 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.6244, allocations: 119.6 kB / 0.8594 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.6245, allocations: 175.1 kB / 0.8595 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.6257, allocations: 0.9088 MB / 0.8604 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.6258, allocations: 4 kB / 0.8604 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6258, allocations: 0 / 0.8604 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.6258, allocations: 0 / 0.8604 GB, free: 7.328 MB / 0.6231 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.0008941/0.6267, allocations: 0.6941 MB / 0.8611 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.6267, allocations: 12.03 kB / 0.8611 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009418/0.6277, allocations: 119.5 kB / 0.8612 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005166/0.6282, allocations: 353 kB / 0.8616 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.318e-05/0.6283, allocations: 46.27 kB / 0.8616 GB, free: 6.023 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.6283, allocations: 29.12 kB / 0.8616 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006124/0.6289, allocations: 374.1 kB / 0.862 GB, free: 5.613 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.629, allocations: 0 / 0.862 GB, free: 5.613 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.066e-05/0.629, allocations: 15.94 kB / 0.862 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.629, allocations: 4 kB / 0.862 GB, free: 5.594 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004869/0.6295, allocations: 274 kB / 0.8623 GB, free: 5.324 MB / 0.6231 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.00177/0.6313, allocations: 1.476 MB / 0.8637 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.6317, allocations: 202.5 kB / 0.8639 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.6319, allocations: 117.3 kB / 0.864 GB, free: 3.398 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008824/0.6328, allocations: 0.5092 MB / 0.8645 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.6328, allocations: 34.5 kB / 0.8646 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/0.6328, allocations: 0 / 0.8646 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0008551/0.6337, allocations: 369 kB / 0.8649 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.6337, allocations: 51.41 kB / 0.865 GB, free: 2.324 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.634, allocations: 316.5 kB / 0.8653 GB, free: 2.004 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.634, allocations: 25.7 kB / 0.8653 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.6342, allocations: 188.1 kB / 0.8655 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.6342, allocations: 51.2 kB / 0.8655 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.186e-05/0.6343, allocations: 49.7 kB / 0.8656 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.6344, allocations: 338.8 kB / 0.8659 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.6346, allocations: 83.92 kB / 0.866 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.6348, allocations: 151.1 kB / 0.8661 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.6352, allocations: 236.8 kB / 0.8663 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.6352, allocations: 7.938 kB / 0.8663 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005268/0.6357, allocations: 281.1 kB / 0.8666 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.6358, allocations: 7.938 kB / 0.8666 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.6358, allocations: 4 kB / 0.8666 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.6358, allocations: 0 / 0.8666 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.636, allocations: 40.16 kB / 0.8667 GB, free: 0.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.636, allocations: 8 kB / 0.8667 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.6362, allocations: 31.67 kB / 0.8667 GB, free: 472 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/0.6363, allocations: 12 kB / 0.8667 GB, free: 460 kB / 0.6231 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.0001458/0.6364, allocations: 153.7 kB / 0.8669 GB, free: 296 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.6365, allocations: 31.62 kB / 0.8669 GB, free: 264 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006375/0.6372, allocations: 316.2 kB / 0.8672 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.6372, allocations: 7.938 kB / 0.8672 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.6372, allocations: 0 / 0.8672 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.6372, allocations: 0 / 0.8672 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.6384, allocations: 0.8044 MB / 0.868 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.6384, allocations: 4 kB / 0.868 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.6386, allocations: 35.92 kB / 0.868 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.6386, allocations: 0 / 0.868 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.6386, allocations: 11.94 kB / 0.868 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.6386, allocations: 8.203 kB / 0.868 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.6387, allocations: 11.94 kB / 0.8681 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005606/0.6392, allocations: 395.1 kB / 0.8684 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.6394, allocations: 128.9 kB / 0.8686 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.192e-05/0.6394, allocations: 7.875 kB / 0.8686 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.6397, allocations: 15.98 kB / 0.8686 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/0.6397, allocations: 19.91 kB / 0.8686 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.6398, allocations: 20 kB / 0.8686 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000189/0.64, allocations: 227 kB / 0.8688 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.64, allocations: 0 / 0.8688 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004729/0.6404, allocations: 119.8 kB / 0.8689 GB, free: 14.02 MB / 0.6387 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.000496/0.6409, allocations: 229 kB / 0.8692 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004609/0.6414, allocations: 227.7 kB / 0.8694 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6414, allocations: 0 / 0.8694 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.6416, allocations: 119.8 kB / 0.8695 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007494/0.6424, allocations: 166.4 kB / 0.8697 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000958/0.6434, allocations: 0.5898 MB / 0.8702 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.6437, allocations: 0.791 MB / 0.871 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002252/0.6439, allocations: 86.8 kB / 0.8711 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.243e-05/0.644, allocations: 35.38 kB / 0.8711 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of SimCode: time 2.41e-07/0.644, allocations: 0 / 0.8711 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of Templates: time 0.01131/0.6553, allocations: 7.27 MB / 0.8782 GB, free: 4.562 MB / 0.6387 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)