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.001331/0.001331, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.001408/0.001408, allocations: 154.8 kB / 23.01 MB, free: 4.949 MB / 14.72 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.405/1.405, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] 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.003369/0.003369, allocations: 242.1 kB / 260 MB, free: 436 kB / 238.1 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.9085/0.9085, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003193/0.003193, allocations: 99.84 kB / 0.6474 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4078, allocations: 95.34 MB / 0.7405 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1803/0.5881, allocations: 149.5 MB / 0.8865 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008982/0.5971, allocations: 6.55 MB / 0.8929 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003371/0.5975, allocations: 15.88 kB / 0.8929 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005564/0.598, allocations: 170.7 kB / 0.8931 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00318/0.6012, allocations: 1.295 MB / 0.8943 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.6029, allocations: 0.6579 MB / 0.895 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000983/0.6039, allocations: 0.7759 MB / 0.8957 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004282/0.6043, allocations: 235.7 kB / 0.8959 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.6055, allocations: 0.5916 MB / 0.8965 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008327/0.6063, allocations: 446.4 kB / 0.8969 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.6064, allocations: 28 kB / 0.897 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001912/0.6083, allocations: 1.048 MB / 0.898 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.6084, allocations: 115.6 kB / 0.8981 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.6086, allocations: 155.3 kB / 0.8983 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.6099, allocations: 0.8651 MB / 0.8991 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6099, allocations: 0 / 0.8991 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6099, allocations: 0 / 0.8991 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.6099, allocations: 4 kB / 0.8991 GB, free: 15.89 MB / 0.7325 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.0009968/0.6109, allocations: 0.629 MB / 0.8997 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.6109, allocations: 13.34 kB / 0.8997 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009894/0.6119, allocations: 127.6 kB / 0.8999 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005053/0.6124, allocations: 287.9 kB / 0.9001 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.716e-05/0.6125, allocations: 76.06 kB / 0.9002 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.804e-05/0.6126, allocations: 28 kB / 0.9002 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006972/0.6133, allocations: 396.9 kB / 0.9006 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.6133, allocations: 0 / 0.9006 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/0.6133, allocations: 12 kB / 0.9006 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.6133, allocations: 4 kB / 0.9006 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005588/0.6139, allocations: 277.7 kB / 0.9009 GB, free: 13.97 MB / 0.7325 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.001726/0.6156, allocations: 1.063 MB / 0.9019 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000425/0.616, allocations: 194.4 kB / 0.9021 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.6162, allocations: 118 kB / 0.9022 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007634/0.617, allocations: 131.9 kB / 0.9023 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.617, allocations: 42.48 kB / 0.9024 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 3.226e-06/0.617, allocations: 3.984 kB / 0.9024 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0009635/0.618, allocations: 361 kB / 0.9027 GB, free: 12 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.618, allocations: 51.41 kB / 0.9028 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.6183, allocations: 233.9 kB / 0.903 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.6183, allocations: 29.7 kB / 0.903 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.6185, allocations: 200.5 kB / 0.9032 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.186e-05/0.6185, allocations: 55.53 kB / 0.9033 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/0.6186, allocations: 41.7 kB / 0.9033 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.6188, allocations: 334.8 kB / 0.9036 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.619, allocations: 91.92 kB / 0.9037 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/0.6193, allocations: 227 kB / 0.9039 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004482/0.6197, allocations: 233.8 kB / 0.9042 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6197, allocations: 4 kB / 0.9042 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006178/0.6203, allocations: 277.2 kB / 0.9044 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.6203, allocations: 8 kB / 0.9044 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.6204, allocations: 0 / 0.9044 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.6204, allocations: 4.188 kB / 0.9044 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.6206, allocations: 47.91 kB / 0.9045 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.6206, allocations: 0 / 0.9045 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.6208, allocations: 27.88 kB / 0.9045 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.6208, allocations: 8 kB / 0.9045 GB, free: 10.06 MB / 0.7325 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.000172/0.621, allocations: 157.7 kB / 0.9047 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.6211, allocations: 23.84 kB / 0.9047 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006905/0.6218, allocations: 303.1 kB / 0.905 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.6218, allocations: 4 kB / 0.905 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.6218, allocations: 0 / 0.905 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.6218, allocations: 7.922 kB / 0.905 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.6231, allocations: 0.7145 MB / 0.9057 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.6231, allocations: 0 / 0.9057 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.6233, allocations: 39.91 kB / 0.9057 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.6233, allocations: 4 kB / 0.9057 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.6233, allocations: 8 kB / 0.9057 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.6233, allocations: 0 / 0.9057 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.6233, allocations: 7.938 kB / 0.9058 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006425/0.624, allocations: 393.2 kB / 0.9061 GB, free: 8.309 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.6241, allocations: 63.78 kB / 0.9062 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.6241, allocations: 0 / 0.9062 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.6243, allocations: 19.98 kB / 0.9062 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.6244, allocations: 15.86 kB / 0.9062 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.6244, allocations: 15.98 kB / 0.9062 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001518/0.6246, allocations: 165.2 kB / 0.9064 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.6246, allocations: 0 / 0.9064 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004991/0.6251, allocations: 131.6 kB / 0.9065 GB, free: 7.91 MB / 0.7325 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.000401/0.6255, allocations: 211 kB / 0.9067 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004996/0.626, allocations: 215.7 kB / 0.9069 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.626, allocations: 4 kB / 0.9069 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.6262, allocations: 112.7 kB / 0.907 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006318/0.6269, allocations: 98.34 kB / 0.9071 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.6279, allocations: 0.6048 MB / 0.9077 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.6281, allocations: 180.8 kB / 0.9079 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002107/0.6283, allocations: 70.14 kB / 0.908 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.551e-05/0.6284, allocations: 28.48 kB / 0.908 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.6284, allocations: 0 / 0.908 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of Templates: time 0.01182/0.6402, allocations: 5.935 MB / 0.9138 GB, free: 0.5234 MB / 0.7325 GB " [Timeout remaining time 659] 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=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.2084431539988145] Failed to read output from testmodel.py, exit status != 0: 0.648520463029854 0.662512569 0.049522938 Calling exit ...