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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 101.9 kB / 19.59 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 188.4 kB / 22.85 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 225.6 MB / 251.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002494/0.002494, allocations: 290.6 kB / 307 MB, free: 8.355 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.186/1.186, allocations: 180.8 MB / 0.5304 GB, free: 14.55 MB / 382.1 MB " [Timeout remaining time 179] 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=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 0.002766/0.002766, allocations: 109.5 kB / 0.7311 GB, free: 38.66 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1805, allocations: 94.21 MB / 0.8231 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2042/0.3847, allocations: 168.4 MB / 0.9875 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009043/0.3937, allocations: 7.148 MB / 0.9945 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005232/0.3942, allocations: 23.81 kB / 0.9945 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005648/0.3948, allocations: 178.7 kB / 0.9947 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003394/0.3982, allocations: 1.327 MB / 0.996 GB, free: 244 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001777/0.4, allocations: 0.6702 MB / 0.9967 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001017/0.401, allocations: 0.7642 MB / 0.9974 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004158/0.4014, allocations: 247.6 kB / 0.9976 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.4026, allocations: 0.5955 MB / 0.9982 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008419/0.4035, allocations: 450.4 kB / 0.9987 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.16e-05/0.4035, allocations: 24 kB / 0.9987 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002006/0.4055, allocations: 1.06 MB / 0.9997 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.4057, allocations: 119.6 kB / 0.9998 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002084/0.4059, allocations: 175.1 kB / 1 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.4073, allocations: 0.8605 MB / 1.001 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4073, allocations: 4 kB / 1.001 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4073, allocations: 0 / 1.001 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.4073, allocations: 0 / 1.001 GB, free: 11.28 MB / 0.7481 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.001013/0.4083, allocations: 0.629 MB / 1.001 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.4083, allocations: 8.031 kB / 1.001 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009767/0.4093, allocations: 127.6 kB / 1.002 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005532/0.4099, allocations: 275.5 kB / 1.002 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.39e-05/0.41, allocations: 54.36 kB / 1.002 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/0.41, allocations: 24 kB / 1.002 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006863/0.4107, allocations: 392.9 kB / 1.002 GB, free: 9.699 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.4107, allocations: 4 kB / 1.002 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.476e-05/0.4107, allocations: 12 kB / 1.002 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.4107, allocations: 15.92 kB / 1.002 GB, free: 9.668 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005473/0.4113, allocations: 277.7 kB / 1.003 GB, free: 9.395 MB / 0.7481 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.001939/0.4132, allocations: 1.454 MB / 1.004 GB, free: 7.82 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003992/0.4136, allocations: 178.6 kB / 1.004 GB, free: 7.637 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.4139, allocations: 112.8 kB / 1.004 GB, free: 7.523 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000765/0.4146, allocations: 131.9 kB / 1.004 GB, free: 7.395 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.4147, allocations: 38.56 kB / 1.004 GB, free: 7.348 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.4147, allocations: 0 / 1.004 GB, free: 7.348 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.000975/0.4156, allocations: 357.2 kB / 1.005 GB, free: 6.992 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.4157, allocations: 55.41 kB / 1.005 GB, free: 6.926 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003277/0.416, allocations: 316.5 kB / 1.005 GB, free: 6.605 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.416, allocations: 29.7 kB / 1.005 GB, free: 6.57 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.4162, allocations: 188.3 kB / 1.005 GB, free: 6.383 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.729e-05/0.4162, allocations: 51.58 kB / 1.005 GB, free: 6.332 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.926e-05/0.4163, allocations: 57.58 kB / 1.005 GB, free: 6.27 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.4165, allocations: 334.8 kB / 1.006 GB, free: 5.934 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.4167, allocations: 87.94 kB / 1.006 GB, free: 5.848 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/0.4169, allocations: 223 kB / 1.006 GB, free: 5.59 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004465/0.4174, allocations: 246.7 kB / 1.006 GB, free: 5.328 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4174, allocations: 0 / 1.006 GB, free: 5.328 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006286/0.418, allocations: 282.4 kB / 1.007 GB, free: 5.047 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.418, allocations: 8.188 kB / 1.007 GB, free: 5.039 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.418, allocations: 4 kB / 1.007 GB, free: 5.035 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.4181, allocations: 4 kB / 1.007 GB, free: 5.031 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.4183, allocations: 39.92 kB / 1.007 GB, free: 4.992 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.4183, allocations: 0 / 1.007 GB, free: 4.992 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.4185, allocations: 35.77 kB / 1.007 GB, free: 4.957 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/0.4185, allocations: 11.98 kB / 1.007 GB, free: 4.945 MB / 0.7481 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.0001651/0.4187, allocations: 158.4 kB / 1.007 GB, free: 4.781 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.4188, allocations: 35.81 kB / 1.007 GB, free: 4.746 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007145/0.4195, allocations: 307.5 kB / 1.007 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.4195, allocations: 4 kB / 1.007 GB, free: 4.441 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4195, allocations: 3.938 kB / 1.007 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4195, allocations: 3.938 kB / 1.007 GB, free: 4.434 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.4209, allocations: 0.7801 MB / 1.008 GB, free: 3.582 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4209, allocations: 4.047 kB / 1.008 GB, free: 3.578 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.4211, allocations: 48.12 kB / 1.008 GB, free: 3.531 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.4211, allocations: 0 / 1.008 GB, free: 3.531 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.4211, allocations: 11.92 kB / 1.008 GB, free: 3.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.4211, allocations: 4 kB / 1.008 GB, free: 3.516 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.4212, allocations: 4 kB / 1.008 GB, free: 3.512 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006476/0.4218, allocations: 401.1 kB / 1.008 GB, free: 3.082 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.4219, allocations: 55.78 kB / 1.008 GB, free: 3.027 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.756e-05/0.422, allocations: 7.938 kB / 1.008 GB, free: 3.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.4222, allocations: 19.98 kB / 1.008 GB, free: 3 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/0.4223, allocations: 15.91 kB / 1.008 GB, free: 2.984 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.4223, allocations: 12 kB / 1.008 GB, free: 2.973 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002278/0.4225, allocations: 227 kB / 1.009 GB, free: 2.75 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8e-08/0.4225, allocations: 96 / 1.009 GB, free: 2.75 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005143/0.4231, allocations: 127.6 kB / 1.009 GB, free: 2.625 MB / 0.7481 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.0005725/0.4236, allocations: 229.8 kB / 1.009 GB, free: 2.395 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005285/0.4242, allocations: 221.2 kB / 1.009 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4242, allocations: 0 / 1.009 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.4244, allocations: 116.6 kB / 1.009 GB, free: 2.066 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000838/0.4252, allocations: 161.3 kB / 1.01 GB, free: 1.914 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.4264, allocations: 0.6089 MB / 1.01 GB, free: 1.258 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.4268, allocations: 0.7872 MB / 1.011 GB, free: 456 kB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002545/0.427, allocations: 98.73 kB / 1.011 GB, free: 360 kB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.082e-05/0.4271, allocations: 27.44 kB / 1.011 GB, free: 332 kB / 0.7481 GB Notification: Performance of SimCode: time 3.61e-07/0.4271, allocations: 4 kB / 1.011 GB, free: 328 kB / 0.7481 GB Notification: Performance of Templates: time 0.3642/0.7913, allocations: 7.436 MB / 1.018 GB, free: 189.6 MB / 0.7481 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.564756811014377] Failed to read output from testmodel.py, exit status != 0: 0.7985525160329416 0.810257667 0.40080431399999994 Calling exit ...