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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009422/0.0009422, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 165 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.015/1.015, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002607/0.002607, allocations: 229.6 kB / 260.2 MB, free: 12.83 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7515/0.7515, allocations: 138.4 MB / 455.2 MB, free: 1.57 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.5551 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.336e-05/1.47e-05, allocations: 10.25 kB / 0.5551 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.3697/0.3697, allocations: 146.7 MB / 0.6984 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002248/0.372, allocations: 2.3 MB / 0.7007 GB, free: 7.891 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.3721, allocations: 15.88 kB / 0.7007 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.3724, allocations: 99.14 kB / 0.7008 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0009545/0.3733, allocations: 0.6605 MB / 0.7014 GB, free: 7.113 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006778/0.374, allocations: 0.5143 MB / 0.7019 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0004414/0.3745, allocations: 0.7522 MB / 0.7027 GB, free: 5.84 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002235/0.3747, allocations: 236.3 kB / 0.7029 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003319/0.375, allocations: 403 kB / 0.7033 GB, free: 5.219 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004156/0.3754, allocations: 418.8 kB / 0.7037 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.3755, allocations: 24 kB / 0.7037 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003978/0.3759, allocations: 482.6 kB / 0.7041 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 6.585e-05/0.3759, allocations: 123.6 kB / 0.7043 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 7.361e-05/0.376, allocations: 131.7 kB / 0.7044 GB, free: 4.062 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.3764, allocations: 0.5334 MB / 0.7049 GB, free: 3.527 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.3764, allocations: 0 / 0.7049 GB, free: 3.527 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.92e-07/0.3764, allocations: 0 / 0.7049 GB, free: 3.527 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.3764, allocations: 0 / 0.7049 GB, free: 3.527 MB / 0.5105 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.0004786/0.3769, allocations: 0.6843 MB / 0.7056 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.3769, allocations: 8.75 kB / 0.7056 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005243/0.3775, allocations: 188.1 kB / 0.7058 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.3777, allocations: 287.9 kB / 0.706 GB, free: 2.312 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.515e-05/0.3778, allocations: 76.81 kB / 0.7061 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.3778, allocations: 31.94 kB / 0.7061 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.3781, allocations: 315.8 kB / 0.7064 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3781, allocations: 0 / 0.7064 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.3781, allocations: 16 kB / 0.7065 GB, free: 1.836 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.3781, allocations: 8 kB / 0.7065 GB, free: 1.828 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.3783, allocations: 118.9 kB / 0.7066 GB, free: 1.711 MB / 0.5105 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.0007685/0.379, allocations: 1.256 MB / 0.7078 GB, free: 412 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.3792, allocations: 91.09 kB / 0.7079 GB, free: 308 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.3792, allocations: 39.67 kB / 0.7079 GB, free: 264 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002387/0.3795, allocations: 79.91 kB / 0.708 GB, free: 184 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.3795, allocations: 33.39 kB / 0.708 GB, free: 140 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.3795, allocations: 4 kB / 0.708 GB, free: 136 kB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.0003352/0.3798, allocations: 174.9 kB / 0.7082 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.228e-05/0.3798, allocations: 51.41 kB / 0.7083 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.38, allocations: 288.2 kB / 0.7085 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.38, allocations: 29.7 kB / 0.7086 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.494e-05/0.3801, allocations: 239.2 kB / 0.7088 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.3802, allocations: 55.53 kB / 0.7088 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.883e-05/0.3802, allocations: 47.36 kB / 0.7089 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.3803, allocations: 0.5079 MB / 0.7094 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.684e-05/0.3804, allocations: 27.94 kB / 0.7094 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.3805, allocations: 178.8 kB / 0.7096 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.3808, allocations: 125.7 kB / 0.7097 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3808, allocations: 0 / 0.7097 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002217/0.381, allocations: 152.1 kB / 0.7099 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.381, allocations: 8 kB / 0.7099 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.381, allocations: 0 / 0.7099 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.3811, allocations: 4 kB / 0.7099 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.3812, allocations: 43.91 kB / 0.7099 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3812, allocations: 8.484 kB / 0.7099 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.474e-05/0.3813, allocations: 15.89 kB / 0.7099 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.3813, allocations: 12 kB / 0.7099 GB, free: 14.05 MB / 0.5261 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 8.77e-05/0.3814, allocations: 172.4 kB / 0.7101 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.3814, allocations: 35.98 kB / 0.7101 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.3817, allocations: 148.5 kB / 0.7103 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3817, allocations: 7.984 kB / 0.7103 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3817, allocations: 7.438 kB / 0.7103 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.3817, allocations: 3.938 kB / 0.7103 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005798/0.3823, allocations: 0.601 MB / 0.7109 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3823, allocations: 4 kB / 0.7109 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.639e-05/0.3823, allocations: 32.2 kB / 0.7109 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.3823, allocations: 4.031 kB / 0.7109 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.3824, allocations: 4 kB / 0.7109 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.3824, allocations: 7.938 kB / 0.7109 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3824, allocations: 0 / 0.7109 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.3826, allocations: 348.6 kB / 0.7113 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.656e-05/0.3827, allocations: 43.78 kB / 0.7113 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.3827, allocations: 7.984 kB / 0.7113 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.666e-05/0.3828, allocations: 8 kB / 0.7113 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.3828, allocations: 15.98 kB / 0.7113 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.3828, allocations: 15.98 kB / 0.7114 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 9.209e-05/0.3829, allocations: 193.1 kB / 0.7115 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.3829, allocations: 0 / 0.7115 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002812/0.3832, allocations: 111.7 kB / 0.7116 GB, free: 12.18 MB / 0.5261 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 (15): * Single equations (assignments): 15 * 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.0002343/0.3834, allocations: 182.9 kB / 0.7118 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000174/0.3836, allocations: 93.05 kB / 0.7119 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3836, allocations: 0 / 0.7119 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.315e-05/0.3837, allocations: 59.05 kB / 0.712 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.384, allocations: 113.4 kB / 0.7121 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008515/0.3849, allocations: 0.5632 MB / 0.7126 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.566e-05/0.385, allocations: 96.3 kB / 0.7127 GB, free: 11 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001293/0.3851, allocations: 58.61 kB / 0.7128 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.741e-05/0.3851, allocations: 24.5 kB / 0.7128 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of SimCode: time 7.71e-07/0.3851, allocations: 0 / 0.7128 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of Templates: time 0.00675/0.3919, allocations: 5.185 MB / 0.7179 GB, free: 5.891 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.344200588297099]