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.001365/0.001365, allocations: 105.3 kB / 16.27 MB, free: 5.984 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.001303/0.001303, allocations: 189 kB / 17.2 MB, free: 5.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.346/1.346, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002297/0.002297, allocations: 294.6 kB / 291.3 MB, free: 14.52 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9201/0.9201, allocations: 169.3 MB / 0.4988 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 102.6 kB / 0.5959 GB, free: 15.11 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1635, allocations: 86.97 MB / 0.6808 GB, free: 8.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4986/0.6622, allocations: 169.4 MB / 0.8463 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009156/0.6714, allocations: 7.13 MB / 0.8533 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000542/0.672, allocations: 11.94 kB / 0.8533 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006476/0.6727, allocations: 166.8 kB / 0.8534 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00344/0.6761, allocations: 1.272 MB / 0.8547 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001768/0.6779, allocations: 0.6279 MB / 0.8553 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0009843/0.6789, allocations: 0.7447 MB / 0.856 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005431/0.6795, allocations: 310.7 kB / 0.8563 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.6808, allocations: 0.5604 MB / 0.8569 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000888/0.6817, allocations: 426.5 kB / 0.8573 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.227e-05/0.6817, allocations: 24 kB / 0.8573 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002239/0.684, allocations: 1.243 MB / 0.8585 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.6842, allocations: 111.7 kB / 0.8586 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002545/0.6844, allocations: 183.1 kB / 0.8588 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001784/0.6862, allocations: 0.8961 MB / 0.8597 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.6862, allocations: 4 kB / 0.8597 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.013e-06/0.6862, allocations: 0 / 0.8597 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.6863, allocations: 3.938 kB / 0.8597 GB, free: 7.801 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.001148/0.6874, allocations: 0.6941 MB / 0.8603 GB, free: 7.059 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.6875, allocations: 8.031 kB / 0.8603 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.6886, allocations: 127.5 kB / 0.8605 GB, free: 6.926 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004578/0.689, allocations: 329.1 kB / 0.8608 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.72e-05/0.6891, allocations: 50.27 kB / 0.8608 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.6892, allocations: 24 kB / 0.8609 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006761/0.6899, allocations: 374.1 kB / 0.8612 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.6899, allocations: 4 kB / 0.8612 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.6899, allocations: 8 kB / 0.8612 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.6899, allocations: 8 kB / 0.8612 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000551/0.6905, allocations: 274 kB / 0.8615 GB, free: 5.816 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.001933/0.6924, allocations: 1.5 MB / 0.863 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004197/0.6929, allocations: 198.5 kB / 0.8631 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.6931, allocations: 120.8 kB / 0.8633 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009906/0.6941, allocations: 0.4975 MB / 0.8637 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.6941, allocations: 42.55 kB / 0.8638 GB, free: 3.227 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.6941, allocations: 0 / 0.8638 GB, free: 3.227 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.000953/0.6951, allocations: 360.6 kB / 0.8641 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.6952, allocations: 59.41 kB / 0.8642 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.6955, allocations: 312.5 kB / 0.8645 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.6955, allocations: 29.7 kB / 0.8645 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.6956, allocations: 184 kB / 0.8647 GB, free: 2.266 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.761e-05/0.6957, allocations: 55.2 kB / 0.8647 GB, free: 2.211 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-05/0.6958, allocations: 41.7 kB / 0.8648 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.6959, allocations: 338.8 kB / 0.8651 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.6961, allocations: 91.55 kB / 0.8652 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.6964, allocations: 141.9 kB / 0.8653 GB, free: 1.578 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004343/0.6968, allocations: 237.8 kB / 0.8656 GB, free: 1.324 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.6968, allocations: 7.938 kB / 0.8656 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005917/0.6974, allocations: 281.2 kB / 0.8658 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.6975, allocations: 8 kB / 0.8658 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.6975, allocations: 0 / 0.8658 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.6975, allocations: 4 kB / 0.8658 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.6977, allocations: 43.92 kB / 0.8659 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.6977, allocations: 3.984 kB / 0.8659 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.6979, allocations: 31.69 kB / 0.8659 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.698, allocations: 11.98 kB / 0.8659 GB, free: 0.9336 MB / 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.0001605/0.6982, allocations: 157.8 kB / 0.8661 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.6983, allocations: 27.62 kB / 0.8661 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000706/0.699, allocations: 310.1 kB / 0.8664 GB, free: 444 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.699, allocations: 0 / 0.8664 GB, free: 444 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.699, allocations: 3.938 kB / 0.8664 GB, free: 440 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.699, allocations: 8 kB / 0.8664 GB, free: 432 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.7003, allocations: 0.8082 MB / 0.8672 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.7003, allocations: 4 kB / 0.8672 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.7005, allocations: 35.91 kB / 0.8672 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.7005, allocations: 4 kB / 0.8672 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.7005, allocations: 11.94 kB / 0.8673 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.7005, allocations: 9.5 kB / 0.8673 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.7006, allocations: 2.875 kB / 0.8673 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005996/0.7012, allocations: 405.1 kB / 0.8677 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.7013, allocations: 128.8 kB / 0.8678 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/0.7014, allocations: 11.94 kB / 0.8678 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.7016, allocations: 11.98 kB / 0.8678 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.7017, allocations: 19.92 kB / 0.8678 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.7017, allocations: 11.98 kB / 0.8678 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002046/0.7019, allocations: 223.1 kB / 0.868 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7019, allocations: 0 / 0.868 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005027/0.7024, allocations: 131.8 kB / 0.8682 GB, free: 14.5 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.0005847/0.703, allocations: 224 kB / 0.8684 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005136/0.7035, allocations: 231.8 kB / 0.8686 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.7035, allocations: 0 / 0.8686 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002355/0.7038, allocations: 123.8 kB / 0.8687 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008731/0.7047, allocations: 165.1 kB / 0.8689 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.7058, allocations: 0.6263 MB / 0.8695 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.7061, allocations: 0.791 MB / 0.8703 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.7062, allocations: 35.44 kB / 0.8703 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of SimCode: time 2.9e-07/0.7062, allocations: 4 kB / 0.8703 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of Templates: time 0.009587/0.7158, allocations: 6.245 MB / 0.8764 GB, free: 6.059 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)