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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001806/0.001805, allocations: 105.2 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001842/0.001843, allocations: 187 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002212/0.002212, allocations: 299.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9398/0.9398, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 95.86 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4377/0.4395, allocations: 86.99 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.1667/0.6062, allocations: 163.2 MB / 0.9264 GB, free: 64 kB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.005552/0.6118, allocations: 4.589 MB / 0.9309 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004339/0.6123, allocations: 11.88 kB / 0.9309 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0004527/0.6127, allocations: 123 kB / 0.9311 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.6141, allocations: 0.5406 MB / 0.9316 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.616, allocations: 0.772 MB / 0.9323 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0006822/0.6167, allocations: 0.5768 MB / 0.9329 GB, free: 9.441 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003383/0.6171, allocations: 221.1 kB / 0.9331 GB, free: 9.227 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008855/0.618, allocations: 462.2 kB / 0.9336 GB, free: 8.773 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005088/0.6185, allocations: 297.6 kB / 0.9338 GB, free: 8.484 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.655e-05/0.6185, allocations: 16 kB / 0.9339 GB, free: 8.469 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.6202, allocations: 0.9977 MB / 0.9348 GB, free: 7.469 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.6203, allocations: 91.72 kB / 0.9349 GB, free: 7.379 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.6205, allocations: 123.4 kB / 0.935 GB, free: 7.258 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.6216, allocations: 0.7246 MB / 0.9357 GB, free: 6.531 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.6216, allocations: 0 / 0.9357 GB, free: 6.531 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6216, allocations: 4 kB / 0.9357 GB, free: 6.527 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.6216, allocations: 4 kB / 0.9357 GB, free: 6.523 MB / 0.7012 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.0008777/0.6225, allocations: 0.588 MB / 0.9363 GB, free: 5.887 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.6225, allocations: 8.031 kB / 0.9363 GB, free: 5.879 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006587/0.6232, allocations: 91.36 kB / 0.9364 GB, free: 5.789 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.6236, allocations: 291.4 kB / 0.9367 GB, free: 5.465 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.6237, allocations: 15.95 kB / 0.9367 GB, free: 5.449 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.6237, allocations: 24 kB / 0.9367 GB, free: 5.426 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004787/0.6242, allocations: 283.5 kB / 0.937 GB, free: 5.121 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.6242, allocations: 0 / 0.937 GB, free: 5.121 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.6242, allocations: 4 kB / 0.937 GB, free: 5.117 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.6243, allocations: 11.94 kB / 0.937 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000412/0.6247, allocations: 204.4 kB / 0.9372 GB, free: 4.906 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.6262, allocations: 1.238 MB / 0.9384 GB, free: 3.59 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.6265, allocations: 177 kB / 0.9386 GB, free: 3.371 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.6267, allocations: 112.4 kB / 0.9387 GB, free: 3.246 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007543/0.6275, allocations: 335.2 kB / 0.939 GB, free: 2.863 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.6276, allocations: 34.56 kB / 0.939 GB, free: 2.82 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.6276, allocations: 0 / 0.939 GB, free: 2.82 MB / 0.7012 GB Notification: Performance of matching and sorting (n=13): time 0.0007527/0.6283, allocations: 281.4 kB / 0.9393 GB, free: 2.539 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.329e-05/0.6284, allocations: 162.2 kB / 0.9395 GB, free: 2.344 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.6287, allocations: 283 kB / 0.9397 GB, free: 2.062 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.6287, allocations: 33.7 kB / 0.9398 GB, free: 2.023 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.6288, allocations: 147.8 kB / 0.9399 GB, free: 1.875 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.6289, allocations: 47.3 kB / 0.94 GB, free: 1.828 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.355e-05/0.629, allocations: 45.83 kB / 0.94 GB, free: 1.777 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.6291, allocations: 338.8 kB / 0.9403 GB, free: 1.438 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.6293, allocations: 63.95 kB / 0.9404 GB, free: 1.375 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.6295, allocations: 144.5 kB / 0.9405 GB, free: 1.203 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/0.6299, allocations: 219.5 kB / 0.9407 GB, free: 0.9609 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6299, allocations: 0 / 0.9407 GB, free: 0.9609 MB / 0.7012 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005048/0.6304, allocations: 241.3 kB / 0.941 GB, free: 0.7188 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.6304, allocations: 4 kB / 0.941 GB, free: 0.7148 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.6304, allocations: 4 kB / 0.941 GB, free: 0.7109 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.6304, allocations: 4 kB / 0.941 GB, free: 0.707 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.6306, allocations: 47.84 kB / 0.941 GB, free: 0.6602 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.6307, allocations: 4 kB / 0.941 GB, free: 0.6562 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.6309, allocations: 27.73 kB / 0.9411 GB, free: 0.6289 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.6309, allocations: 15.94 kB / 0.9411 GB, free: 0.6133 MB / 0.7012 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.0001442/0.631, allocations: 160.2 kB / 0.9412 GB, free: 460 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.6312, allocations: 23.72 kB / 0.9412 GB, free: 436 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004912/0.6317, allocations: 185.9 kB / 0.9414 GB, free: 232 kB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.6317, allocations: 4 kB / 0.9414 GB, free: 228 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.902e-06/0.6317, allocations: 4.062 kB / 0.9414 GB, free: 224 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.6317, allocations: 8.359 kB / 0.9414 GB, free: 216 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009895/0.6327, allocations: 0.847 MB / 0.9423 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.6327, allocations: 4 kB / 0.9423 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.6329, allocations: 31.91 kB / 0.9423 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.6329, allocations: 7.875 kB / 0.9423 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.6329, allocations: 4 kB / 0.9423 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.6329, allocations: 4 kB / 0.9423 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6329, allocations: 0 / 0.9423 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005516/0.6335, allocations: 335.5 kB / 0.9426 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.797e-05/0.6336, allocations: 120.7 kB / 0.9427 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.6336, allocations: 4 kB / 0.9428 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.6338, allocations: 7.984 kB / 0.9428 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.6338, allocations: 11.94 kB / 0.9428 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.6339, allocations: 7.984 kB / 0.9428 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002171/0.6341, allocations: 233.9 kB / 0.943 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6341, allocations: 0 / 0.943 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000467/0.6346, allocations: 92 kB / 0.9431 GB, free: 14.4 MB / 0.7169 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.0005173/0.6351, allocations: 215.2 kB / 0.9433 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004149/0.6355, allocations: 151.8 kB / 0.9434 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.6355, allocations: 3.938 kB / 0.9434 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.6357, allocations: 59.89 kB / 0.9435 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007395/0.6364, allocations: 143.7 kB / 0.9436 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008234/0.6373, allocations: 0.5287 MB / 0.9442 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.6376, allocations: 0.7636 MB / 0.9449 GB, free: 12.47 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/0.6377, allocations: 23.44 kB / 0.9449 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.6377, allocations: 4 kB / 0.9449 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of Templates: time 0.00731/0.645, allocations: 5.268 MB / 0.9501 GB, free: 7.227 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.makefile (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)