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.001194/0.001194, allocations: 73.88 kB / 20.65 MB, free: 3.84 MB / 18.57 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.001309/0.001309, allocations: 169 kB / 24.05 MB, free: 452 kB / 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.049/1.049, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.001667/0.001667, allocations: 242.6 kB / 261.3 MB, free: 12.65 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.7506/0.7506, allocations: 138.4 MB / 456.3 MB, free: 1.406 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.723e-06/1.723e-06, allocations: 0 / 0.5564 GB, free: 224 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.361e-05, allocations: 9.969 kB / 0.5564 GB, free: 216 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.3349/0.335, allocations: 144 MB / 0.697 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00224/0.3372, allocations: 2.276 MB / 0.6992 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002298/0.3374, allocations: 19.81 kB / 0.6993 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.3377, allocations: 95.25 kB / 0.6993 GB, free: 9.645 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.3388, allocations: 0.6683 MB / 0.7 GB, free: 8.973 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007394/0.3395, allocations: 0.5181 MB / 0.7005 GB, free: 8.453 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0005361/0.3401, allocations: 0.7483 MB / 0.7012 GB, free: 7.699 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002849/0.3403, allocations: 240.3 kB / 0.7015 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003914/0.3407, allocations: 407 kB / 0.7018 GB, free: 7.07 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004617/0.3412, allocations: 410.8 kB / 0.7022 GB, free: 6.668 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.3412, allocations: 24 kB / 0.7023 GB, free: 6.645 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004823/0.3417, allocations: 486.6 kB / 0.7027 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 7.843e-05/0.3418, allocations: 119.6 kB / 0.7028 GB, free: 6.051 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 8.837e-05/0.3419, allocations: 131.7 kB / 0.703 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004621/0.3423, allocations: 0.5334 MB / 0.7035 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3423, allocations: 0 / 0.7035 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.42e-07/0.3423, allocations: 0 / 0.7035 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3423, allocations: 0 / 0.7035 GB, free: 5.387 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.0005198/0.3429, allocations: 0.692 MB / 0.7042 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.3429, allocations: 8.75 kB / 0.7042 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005523/0.3434, allocations: 184.2 kB / 0.7043 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.3437, allocations: 287.8 kB / 0.7046 GB, free: 4.168 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.718e-05/0.3438, allocations: 85.61 kB / 0.7047 GB, free: 4.074 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/0.3438, allocations: 27.94 kB / 0.7047 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.3441, allocations: 295.8 kB / 0.705 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3441, allocations: 0 / 0.705 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.3441, allocations: 16 kB / 0.705 GB, free: 3.707 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3441, allocations: 4 kB / 0.705 GB, free: 3.703 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.72e-05/0.3442, allocations: 91.36 kB / 0.7051 GB, free: 3.613 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.0007852/0.345, allocations: 1.206 MB / 0.7063 GB, free: 2.363 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.3451, allocations: 83.08 kB / 0.7064 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.753e-05/0.3451, allocations: 38.09 kB / 0.7064 GB, free: 2.23 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002231/0.3454, allocations: 71.92 kB / 0.7065 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.404e-05/0.3454, allocations: 37.39 kB / 0.7065 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.3454, allocations: 4 kB / 0.7065 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.0002865/0.3457, allocations: 159.3 kB / 0.7067 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.498e-05/0.3457, allocations: 51.41 kB / 0.7067 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.3458, allocations: 276.2 kB / 0.707 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.3458, allocations: 29.7 kB / 0.707 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.435e-05/0.3459, allocations: 243.2 kB / 0.7072 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.3459, allocations: 63.45 kB / 0.7073 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.3459, allocations: 47.34 kB / 0.7074 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.56e-05/0.346, allocations: 0.5078 MB / 0.7078 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.828e-05/0.346, allocations: 23.94 kB / 0.7079 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.127e-05/0.3461, allocations: 170.9 kB / 0.708 GB, free: 456 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.609e-05/0.3462, allocations: 117.7 kB / 0.7081 GB, free: 308 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3462, allocations: 0 / 0.7081 GB, free: 308 kB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001693/0.3463, allocations: 147.2 kB / 0.7083 GB, free: 156 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.3463, allocations: 4 kB / 0.7083 GB, free: 152 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3463, allocations: 4 kB / 0.7083 GB, free: 148 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.3464, allocations: 0 / 0.7083 GB, free: 148 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.3465, allocations: 47.91 kB / 0.7083 GB, free: 100 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.3465, allocations: 4.484 kB / 0.7083 GB, free: 96 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.984e-05/0.3465, allocations: 23.83 kB / 0.7084 GB, free: 72 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.3465, allocations: 8 kB / 0.7084 GB, free: 64 kB / 0.5105 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.0001065/0.3467, allocations: 176.6 kB / 0.7085 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.423e-05/0.3467, allocations: 31.86 kB / 0.7086 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.3469, allocations: 144.2 kB / 0.7087 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.3469, allocations: 0 / 0.7087 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3469, allocations: 7.984 kB / 0.7087 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3469, allocations: 0 / 0.7087 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005233/0.3475, allocations: 0.5352 MB / 0.7092 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3475, allocations: 5.156 kB / 0.7092 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.253e-05/0.3475, allocations: 31.98 kB / 0.7093 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3475, allocations: 3.938 kB / 0.7093 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.3476, allocations: 4 kB / 0.7093 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.3476, allocations: 11.92 kB / 0.7093 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3476, allocations: 0 / 0.7093 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.3478, allocations: 334.4 kB / 0.7096 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.3478, allocations: 44.81 kB / 0.7097 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.3478, allocations: 7.938 kB / 0.7097 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.518e-05/0.3479, allocations: 8 kB / 0.7097 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.348, allocations: 24 kB / 0.7097 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.348, allocations: 8 kB / 0.7097 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.5e-05/0.3481, allocations: 189.1 kB / 0.7099 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.3481, allocations: 0 / 0.7099 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002877/0.3483, allocations: 111.7 kB / 0.71 GB, free: 14.29 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.000233/0.3486, allocations: 175 kB / 0.7102 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001602/0.3487, allocations: 94.94 kB / 0.7102 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3487, allocations: 3.938 kB / 0.7102 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.614e-05/0.3488, allocations: 51.69 kB / 0.7103 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.3492, allocations: 112.9 kB / 0.7104 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008224/0.35, allocations: 0.5668 MB / 0.711 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.828e-05/0.3501, allocations: 100.3 kB / 0.7111 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001115/0.3502, allocations: 39.78 kB / 0.7111 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002142/0.3504, allocations: 174.1 kB / 0.7113 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of SimCode: time 6.72e-07/0.3504, allocations: 0 / 0.7113 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of Templates: time 0.007364/0.3578, allocations: 5.831 MB / 0.717 GB, free: 7.262 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.257377675268799]