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.001328/0.001328, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001544/0.001544, allocations: 189 kB / 22.22 MB, free: 5.105 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.399/1.399, allocations: 225.6 MB / 251 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.002523/0.002523, allocations: 288.5 kB / 306.6 MB, free: 8.363 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.237/1.237, allocations: 180.9 MB / 0.53 GB, free: 14.47 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.002769/0.002769, allocations: 105.5 kB / 0.7309 GB, free: 38.94 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1706, allocations: 94.2 MB / 0.8228 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2157/0.3863, allocations: 170.2 MB / 0.9891 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01009/0.3964, allocations: 7.199 MB / 0.9961 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005936/0.397, allocations: 23.81 kB / 0.9961 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0006531/0.3977, allocations: 174.7 kB / 0.9963 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003811/0.4015, allocations: 1.331 MB / 0.9976 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001953/0.4034, allocations: 0.6787 MB / 0.9982 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001111/0.4045, allocations: 0.7642 MB / 0.999 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004449/0.405, allocations: 247.6 kB / 0.9992 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.4063, allocations: 0.5916 MB / 0.9998 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009228/0.4073, allocations: 454.4 kB / 1 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.446e-05/0.4073, allocations: 24 kB / 1 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002781/0.4101, allocations: 1.368 MB / 1.002 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.4103, allocations: 115.6 kB / 1.002 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002431/0.4105, allocations: 183.1 kB / 1.002 GB, free: 9.84 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001858/0.4124, allocations: 0.9074 MB / 1.003 GB, free: 8.93 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.4124, allocations: 4 kB / 1.003 GB, free: 8.926 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.485e-06/0.4124, allocations: 0 / 1.003 GB, free: 8.926 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.4124, allocations: 0 / 1.003 GB, free: 8.926 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.001167/0.4135, allocations: 0.6329 MB / 1.003 GB, free: 8.262 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.4136, allocations: 12.03 kB / 1.003 GB, free: 8.25 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.4146, allocations: 127.6 kB / 1.004 GB, free: 8.125 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005999/0.4152, allocations: 275.5 kB / 1.004 GB, free: 7.832 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.65e-05/0.4153, allocations: 46.36 kB / 1.004 GB, free: 7.781 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.305e-05/0.4154, allocations: 28 kB / 1.004 GB, free: 7.754 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007169/0.4161, allocations: 375.2 kB / 1.004 GB, free: 7.367 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.4161, allocations: 0 / 1.004 GB, free: 7.367 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/0.4161, allocations: 8 kB / 1.004 GB, free: 7.359 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.4161, allocations: 8 kB / 1.004 GB, free: 7.352 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005662/0.4167, allocations: 277.6 kB / 1.004 GB, free: 7.078 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.00207/0.4188, allocations: 1.462 MB / 1.006 GB, free: 5.496 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004256/0.4192, allocations: 190.5 kB / 1.006 GB, free: 5.301 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.4194, allocations: 112.8 kB / 1.006 GB, free: 5.188 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008049/0.4202, allocations: 131.8 kB / 1.006 GB, free: 5.059 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.4203, allocations: 34.56 kB / 1.006 GB, free: 5.016 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.4203, allocations: 0 / 1.006 GB, free: 5.016 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.001044/0.4213, allocations: 353.2 kB / 1.007 GB, free: 4.664 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.4214, allocations: 55.39 kB / 1.007 GB, free: 4.598 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/0.4217, allocations: 316.5 kB / 1.007 GB, free: 4.277 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.4218, allocations: 33.7 kB / 1.007 GB, free: 4.238 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.4219, allocations: 188.3 kB / 1.007 GB, free: 4.051 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.002e-05/0.422, allocations: 59.48 kB / 1.007 GB, free: 3.992 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.598e-05/0.4221, allocations: 41.7 kB / 1.007 GB, free: 3.945 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.4222, allocations: 338.8 kB / 1.008 GB, free: 3.605 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.4224, allocations: 83.92 kB / 1.008 GB, free: 3.523 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.4227, allocations: 145.9 kB / 1.008 GB, free: 3.359 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004536/0.4231, allocations: 238.9 kB / 1.008 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.4231, allocations: 0 / 1.008 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006065/0.4237, allocations: 290.5 kB / 1.008 GB, free: 2.816 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4238, allocations: 8.188 kB / 1.008 GB, free: 2.809 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.4238, allocations: 4 kB / 1.008 GB, free: 2.805 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.4238, allocations: 4 kB / 1.008 GB, free: 2.801 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.424, allocations: 39.91 kB / 1.008 GB, free: 2.762 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.424, allocations: 4 kB / 1.008 GB, free: 2.758 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.4243, allocations: 35.77 kB / 1.008 GB, free: 2.723 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.4243, allocations: 12 kB / 1.009 GB, free: 2.711 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.0001716/0.4245, allocations: 150.4 kB / 1.009 GB, free: 2.555 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.4246, allocations: 31.81 kB / 1.009 GB, free: 2.523 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007492/0.4253, allocations: 315.2 kB / 1.009 GB, free: 2.215 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.4253, allocations: 0 / 1.009 GB, free: 2.215 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4253, allocations: 0 / 1.009 GB, free: 2.215 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4253, allocations: 3.984 kB / 1.009 GB, free: 2.211 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.4267, allocations: 0.7917 MB / 1.01 GB, free: 1.348 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.4267, allocations: 7.938 kB / 1.01 GB, free: 1.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.4269, allocations: 36.19 kB / 1.01 GB, free: 1.305 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.4269, allocations: 4 kB / 1.01 GB, free: 1.301 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.4269, allocations: 15.94 kB / 1.01 GB, free: 1.285 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.427, allocations: 7.938 kB / 1.01 GB, free: 1.277 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.427, allocations: 0 / 1.01 GB, free: 1.277 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006539/0.4276, allocations: 397.1 kB / 1.01 GB, free: 0.8516 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.4277, allocations: 59.77 kB / 1.01 GB, free: 0.793 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/0.4278, allocations: 7.938 kB / 1.01 GB, free: 0.7852 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.428, allocations: 19.98 kB / 1.01 GB, free: 0.7656 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/0.4281, allocations: 15.98 kB / 1.01 GB, free: 0.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.4281, allocations: 11.98 kB / 1.01 GB, free: 0.7383 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002482/0.4284, allocations: 227 kB / 1.011 GB, free: 0.5156 MB / 0.7481 GB Notification: Performance of sort global known variables: time 6e-08/0.4284, allocations: 0 / 1.011 GB, free: 0.5156 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005672/0.4289, allocations: 119.7 kB / 1.011 GB, free: 408 kB / 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.0006073/0.4296, allocations: 224.4 kB / 1.011 GB, free: 176 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.377/0.8065, allocations: 214.5 kB / 1.011 GB, free: 191.8 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.8065, allocations: 3.469 kB / 1.011 GB, free: 191.8 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002997/0.8068, allocations: 114.8 kB / 1.011 GB, free: 191.8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009769/0.8078, allocations: 162.7 kB / 1.011 GB, free: 191.8 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.8088, allocations: 0.5962 MB / 1.012 GB, free: 191.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.809, allocations: 0.7922 MB / 1.013 GB, free: 190.8 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002482/0.8093, allocations: 89.17 kB / 1.013 GB, free: 190.8 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.036e-05/0.8094, allocations: 34.19 kB / 1.013 GB, free: 190.8 MB / 0.7481 GB Notification: Performance of SimCode: time 9.11e-07/0.8094, allocations: 0 / 1.013 GB, free: 190.8 MB / 0.7481 GB Notification: Performance of Templates: time 0.01492/0.8243, allocations: 7.455 MB / 1.02 GB, free: 189.5 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: 6.804225971922278] Failed to read output from testmodel.py, exit status != 0: 0.8324451437219977 0.843704397 0.42909770100000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fd8c46997b0>