Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.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.001383/0.001383, allocations: 78.33 kB / 19.18 MB, free: 2.531 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.001491/0.001491, allocations: 169.7 kB / 22.46 MB, free: 5.355 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.421/1.421, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.002626/0.002626, allocations: 238.5 kB / 259.4 MB, free: 476 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 1.178/1.178, allocations: 138.4 MB / 454.3 MB, free: 2.047 MB / 366.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.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.6468 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.518e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.4915/0.4915, allocations: 143.9 MB / 0.7873 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006133/0.4977, allocations: 4.219 MB / 0.7914 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003666/0.498, allocations: 19.81 kB / 0.7914 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0004746/0.4985, allocations: 123.1 kB / 0.7915 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.5, allocations: 0.579 MB / 0.7921 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002059/0.502, allocations: 0.8282 MB / 0.7929 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0007508/0.5028, allocations: 0.5805 MB / 0.7935 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003458/0.5031, allocations: 169.4 kB / 0.7936 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.5043, allocations: 0.5294 MB / 0.7942 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006326/0.5049, allocations: 283.1 kB / 0.7944 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.551e-05/0.505, allocations: 20 kB / 0.7945 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.5065, allocations: 0.8723 MB / 0.7953 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.5066, allocations: 91.72 kB / 0.7954 GB, free: 8.332 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.5067, allocations: 83.83 kB / 0.7955 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.5078, allocations: 0.74 MB / 0.7962 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5078, allocations: 0 / 0.7962 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5078, allocations: 4 kB / 0.7962 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.5078, allocations: 6.344 kB / 0.7962 GB, free: 7.5 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009663/0.5088, allocations: 0.5197 MB / 0.7967 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.5088, allocations: 9.344 kB / 0.7967 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008342/0.5096, allocations: 75.73 kB / 0.7968 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005157/0.5102, allocations: 245.6 kB / 0.797 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.5102, allocations: 12 kB / 0.797 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.268e-05/0.5102, allocations: 20 kB / 0.7971 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006194/0.5109, allocations: 301.5 kB / 0.7973 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.5109, allocations: 0 / 0.7973 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.5109, allocations: 8 kB / 0.7974 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.5109, allocations: 4 kB / 0.7974 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004845/0.5114, allocations: 207.7 kB / 0.7976 GB, free: 6.035 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.5132, allocations: 1.094 MB / 0.7986 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.5136, allocations: 172.9 kB / 0.7988 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.5138, allocations: 116.2 kB / 0.7989 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006566/0.5144, allocations: 99.88 kB / 0.799 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.5145, allocations: 46.69 kB / 0.799 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.5145, allocations: 0 / 0.799 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13): time 0.0007874/0.5153, allocations: 269.1 kB / 0.7993 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.5154, allocations: 162.2 kB / 0.7995 GB, free: 3.934 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.5156, allocations: 199.2 kB / 0.7996 GB, free: 3.73 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.5156, allocations: 30.2 kB / 0.7997 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.5158, allocations: 164.3 kB / 0.7998 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.068e-05/0.5158, allocations: 55.56 kB / 0.7999 GB, free: 3.473 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.646e-05/0.5159, allocations: 41.7 kB / 0.7999 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.5161, allocations: 322.8 kB / 0.8002 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.5162, allocations: 67.94 kB / 0.8003 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/0.5165, allocations: 253.5 kB / 0.8005 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003998/0.5169, allocations: 211.5 kB / 0.8007 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.5169, allocations: 3.984 kB / 0.8007 GB, free: 2.496 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005188/0.5174, allocations: 241.3 kB / 0.801 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.5175, allocations: 8 kB / 0.801 GB, free: 2.246 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.5175, allocations: 4 kB / 0.801 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.5175, allocations: 0 / 0.801 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.5177, allocations: 39.97 kB / 0.801 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.5177, allocations: 3.938 kB / 0.801 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.5178, allocations: 27.88 kB / 0.8011 GB, free: 2.172 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/0.5179, allocations: 8 kB / 0.8011 GB, free: 2.164 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001484/0.518, allocations: 149.9 kB / 0.8012 GB, free: 2.008 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.5182, allocations: 23.84 kB / 0.8012 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004851/0.5187, allocations: 192.4 kB / 0.8014 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.5187, allocations: 4 kB / 0.8014 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5187, allocations: 0 / 0.8014 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.5187, allocations: 0 / 0.8014 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009628/0.5196, allocations: 0.7726 MB / 0.8022 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5196, allocations: 4.156 kB / 0.8022 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.5197, allocations: 27.98 kB / 0.8022 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.5198, allocations: 4 kB / 0.8022 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.5198, allocations: 0 / 0.8022 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.5198, allocations: 4 kB / 0.8022 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.5198, allocations: 3.938 kB / 0.8022 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005787/0.5204, allocations: 338.2 kB / 0.8025 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.02e-05/0.5204, allocations: 27.98 kB / 0.8026 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.5204, allocations: 9.938 kB / 0.8026 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.5206, allocations: 7.984 kB / 0.8026 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.5206, allocations: 15.92 kB / 0.8026 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.5207, allocations: 4 kB / 0.8026 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001802/0.5208, allocations: 173.2 kB / 0.8028 GB, free: 336 kB / 0.6231 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5208, allocations: 0 / 0.8028 GB, free: 336 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004972/0.5213, allocations: 115.6 kB / 0.8029 GB, free: 220 kB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.0004912/0.5218, allocations: 217.3 kB / 0.8031 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004153/0.5222, allocations: 139.7 kB / 0.8032 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5222, allocations: 0 / 0.8032 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.5224, allocations: 64.64 kB / 0.8033 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000556/0.523, allocations: 73.34 kB / 0.8033 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008685/0.5238, allocations: 461.8 kB / 0.8038 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.524, allocations: 153.8 kB / 0.8039 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00016/0.5242, allocations: 49.98 kB / 0.804 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.954e-05/0.5242, allocations: 20.5 kB / 0.804 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of SimCode: time 3e-07/0.5242, allocations: 0 / 0.804 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of Templates: time 0.0102/0.5344, allocations: 4.382 MB / 0.8083 GB, free: 10.75 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.3631976544857025] Failed to read output from testmodel.py, exit status != 0: 0.5430715754628181 0.556817791 0.046039734000000006 Calling exit ...