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.001324/0.001324, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001284/0.001284, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.383/1.383, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.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.002393/0.002393, allocations: 291.5 kB / 303.6 MB, free: 3.77 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.031/1.031, allocations: 180.9 MB / 0.5268 GB, free: 2.719 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.002743/0.002743, allocations: 108.2 kB / 0.7259 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5395/0.5422, allocations: 94.16 MB / 0.8179 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2035/0.7457, allocations: 170 MB / 0.9839 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01009/0.7558, allocations: 7.165 MB / 0.9909 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005137/0.7563, allocations: 11.94 kB / 0.9909 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006746/0.757, allocations: 174.7 kB / 0.9911 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003443/0.7604, allocations: 1.303 MB / 0.9923 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.7622, allocations: 0.6487 MB / 0.993 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001039/0.7632, allocations: 0.7641 MB / 0.9937 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004276/0.7636, allocations: 254.7 kB / 0.994 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.7648, allocations: 0.5721 MB / 0.9945 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000878/0.7657, allocations: 450.4 kB / 0.9949 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.288e-05/0.7658, allocations: 28 kB / 0.995 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002524/0.7683, allocations: 1.325 MB / 0.9963 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.7684, allocations: 123.6 kB / 0.9964 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.7687, allocations: 179.1 kB / 0.9965 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001541/0.7702, allocations: 0.9073 MB / 0.9974 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7702, allocations: 4 kB / 0.9974 GB, free: 8.695 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7702, allocations: 0 / 0.9974 GB, free: 8.695 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.7702, allocations: 0 / 0.9974 GB, free: 8.695 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.001085/0.7713, allocations: 0.7042 MB / 0.9981 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.7713, allocations: 8.031 kB / 0.9981 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009833/0.7723, allocations: 127.6 kB / 0.9983 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000585/0.7729, allocations: 349.3 kB / 0.9986 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-05/0.773, allocations: 50.27 kB / 0.9986 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/0.773, allocations: 31.94 kB / 0.9987 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007064/0.7737, allocations: 374.1 kB / 0.999 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.7738, allocations: 0 / 0.999 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.7738, allocations: 12 kB / 0.999 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.7738, allocations: 4 kB / 0.999 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005602/0.7744, allocations: 278 kB / 0.9993 GB, free: 6.672 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.002011/0.7764, allocations: 1.492 MB / 1.001 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004216/0.7768, allocations: 190.5 kB / 1.001 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.777, allocations: 108.8 kB / 1.001 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009899/0.778, allocations: 0.5014 MB / 1.002 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.7781, allocations: 50.55 kB / 1.002 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.7781, allocations: 0 / 1.002 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.001006/0.7791, allocations: 355.6 kB / 1.002 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.7791, allocations: 55.41 kB / 1.002 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003589/0.7795, allocations: 316.5 kB / 1.002 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.159e-05/0.7795, allocations: 29.7 kB / 1.002 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.7796, allocations: 192.2 kB / 1.002 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.865e-05/0.7797, allocations: 47.59 kB / 1.003 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.256e-05/0.7798, allocations: 45.66 kB / 1.003 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.78, allocations: 338.8 kB / 1.003 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.7802, allocations: 87.92 kB / 1.003 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.7804, allocations: 141.9 kB / 1.003 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004532/0.7809, allocations: 249.7 kB / 1.003 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7809, allocations: 0 / 1.003 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005987/0.7815, allocations: 280.1 kB / 1.004 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.7815, allocations: 12.19 kB / 1.004 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.7815, allocations: 0 / 1.004 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.7815, allocations: 4 kB / 1.004 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.7818, allocations: 39.92 kB / 1.004 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.7818, allocations: 3.984 kB / 1.004 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.782, allocations: 31.78 kB / 1.004 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.782, allocations: 11.98 kB / 1.004 GB, free: 1.801 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.0001844/0.7822, allocations: 161.6 kB / 1.004 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.7823, allocations: 31.81 kB / 1.004 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007262/0.783, allocations: 308.2 kB / 1.004 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.783, allocations: 0 / 1.004 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.783, allocations: 7.938 kB / 1.004 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.783, allocations: 4 kB / 1.004 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.7844, allocations: 0.8005 MB / 1.005 GB, free: 416 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.7844, allocations: 4 kB / 1.005 GB, free: 412 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.7846, allocations: 44.12 kB / 1.005 GB, free: 368 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.7846, allocations: 4 kB / 1.005 GB, free: 364 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.7846, allocations: 7.938 kB / 1.005 GB, free: 356 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.21e-05/0.7846, allocations: 4.094 kB / 1.005 GB, free: 352 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7846, allocations: 3.938 kB / 1.005 GB, free: 348 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006434/0.7853, allocations: 407.5 kB / 1.005 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.7854, allocations: 128.9 kB / 1.006 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.7855, allocations: 11.94 kB / 1.006 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.7857, allocations: 15.98 kB / 1.006 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.113e-05/0.7858, allocations: 19.92 kB / 1.006 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.7858, allocations: 11.98 kB / 1.006 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002373/0.7861, allocations: 227.1 kB / 1.006 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8e-08/0.7861, allocations: 0 / 1.006 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005134/0.7866, allocations: 123.7 kB / 1.006 GB, free: 15.36 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.000572/0.7871, allocations: 226.2 kB / 1.006 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005408/0.7877, allocations: 223.6 kB / 1.006 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7877, allocations: 0 / 1.006 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002411/0.7879, allocations: 120.4 kB / 1.007 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008342/0.7888, allocations: 159.2 kB / 1.007 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.7899, allocations: 0.6322 MB / 1.007 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.7904, allocations: 0.7873 MB / 1.008 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.7905, allocations: 31.42 kB / 1.008 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of SimCode: time 3.81e-07/0.7905, allocations: 0 / 1.008 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of Templates: time 0.009941/0.8004, allocations: 6.298 MB / 1.014 GB, free: 6.863 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.73930934118107] Failed to read output from testmodel.py, exit status != 0: 0.8086111990269274 0.821265073 0.048155283 Calling exit ...