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.004977/0.004977, allocations: 103.7 kB / 15.73 MB, free: 5.996 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.001049/0.001049, allocations: 187.5 kB / 16.67 MB, free: 5.934 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002072/0.002072, allocations: 270.9 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9541/0.9541, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 91.86 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1836, allocations: 86.98 MB / 0.7664 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.5236/0.7072, allocations: 163.2 MB / 0.9258 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.00544/0.7127, allocations: 4.58 MB / 0.9303 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004004/0.7131, allocations: 11.94 kB / 0.9303 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004198/0.7136, allocations: 131 kB / 0.9304 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0012/0.7148, allocations: 0.5289 MB / 0.9309 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001636/0.7165, allocations: 0.7701 MB / 0.9317 GB, free: 9.531 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0005766/0.7171, allocations: 0.5768 MB / 0.9322 GB, free: 8.953 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003232/0.7174, allocations: 217.2 kB / 0.9324 GB, free: 8.742 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008318/0.7182, allocations: 462.2 kB / 0.9329 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005048/0.7187, allocations: 302.3 kB / 0.9332 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.7188, allocations: 16 kB / 0.9332 GB, free: 7.98 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.7203, allocations: 0.9977 MB / 0.9342 GB, free: 6.98 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 9.145e-05/0.7204, allocations: 87.77 kB / 0.9342 GB, free: 6.895 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.7205, allocations: 131.3 kB / 0.9344 GB, free: 6.766 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0009326/0.7214, allocations: 0.716 MB / 0.9351 GB, free: 6.051 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.7215, allocations: 0 / 0.9351 GB, free: 6.051 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7215, allocations: 4 kB / 0.9351 GB, free: 6.047 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.7215, allocations: 0 / 0.9351 GB, free: 6.047 MB / 0.6856 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.0008461/0.7223, allocations: 0.5886 MB / 0.9356 GB, free: 5.41 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.7224, allocations: 15.97 kB / 0.9357 GB, free: 5.395 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006004/0.723, allocations: 79.5 kB / 0.9357 GB, free: 5.316 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.7234, allocations: 303.2 kB / 0.936 GB, free: 4.98 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.7234, allocations: 19.95 kB / 0.936 GB, free: 4.961 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.99e-05/0.7235, allocations: 16 kB / 0.9361 GB, free: 4.945 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004458/0.7239, allocations: 287.5 kB / 0.9363 GB, free: 4.637 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.7239, allocations: 0 / 0.9363 GB, free: 4.637 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.724, allocations: 8 kB / 0.9363 GB, free: 4.629 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.724, allocations: 11.88 kB / 0.9364 GB, free: 4.617 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003962/0.7244, allocations: 203.8 kB / 0.9365 GB, free: 4.418 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.7258, allocations: 1.242 MB / 0.9378 GB, free: 3.094 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.726, allocations: 165 kB / 0.9379 GB, free: 2.887 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.7262, allocations: 116.4 kB / 0.938 GB, free: 2.758 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006855/0.7269, allocations: 335.2 kB / 0.9383 GB, free: 2.375 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.727, allocations: 38.48 kB / 0.9384 GB, free: 2.328 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.727, allocations: 0 / 0.9384 GB, free: 2.328 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.0007254/0.7277, allocations: 281.4 kB / 0.9387 GB, free: 2.047 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.009e-05/0.7278, allocations: 162.2 kB / 0.9388 GB, free: 1.852 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.7281, allocations: 283 kB / 0.9391 GB, free: 1.57 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.7281, allocations: 25.7 kB / 0.9391 GB, free: 1.539 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.7282, allocations: 151.8 kB / 0.9392 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.7283, allocations: 51.41 kB / 0.9393 GB, free: 1.336 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.492e-05/0.7283, allocations: 45.7 kB / 0.9393 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.7285, allocations: 342.8 kB / 0.9397 GB, free: 0.9414 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.7286, allocations: 63.94 kB / 0.9397 GB, free: 0.8789 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.7288, allocations: 146.5 kB / 0.9399 GB, free: 0.707 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.7292, allocations: 211.5 kB / 0.9401 GB, free: 484 kB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.7292, allocations: 0 / 0.9401 GB, free: 484 kB / 0.6856 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004876/0.7297, allocations: 246.6 kB / 0.9403 GB, free: 232 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.7297, allocations: 4 kB / 0.9403 GB, free: 228 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.7297, allocations: 4 kB / 0.9403 GB, free: 224 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.7298, allocations: 4 kB / 0.9403 GB, free: 220 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.73, allocations: 40.47 kB / 0.9404 GB, free: 180 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.73, allocations: 4 kB / 0.9404 GB, free: 176 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.7302, allocations: 27.73 kB / 0.9404 GB, free: 148 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/0.7302, allocations: 13.31 kB / 0.9404 GB, free: 136 kB / 0.6856 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.0001471/0.7304, allocations: 153.8 kB / 0.9405 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.7305, allocations: 23.72 kB / 0.9406 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004637/0.731, allocations: 190.2 kB / 0.9407 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.731, allocations: 4 kB / 0.9407 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.731, allocations: 2.375 kB / 0.9408 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.731, allocations: 4 kB / 0.9408 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009474/0.732, allocations: 0.8626 MB / 0.9416 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.732, allocations: 0 / 0.9416 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.7321, allocations: 27.92 kB / 0.9416 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.7321, allocations: 3.938 kB / 0.9416 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.7321, allocations: 4 kB / 0.9416 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.7321, allocations: 3.984 kB / 0.9416 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.7322, allocations: 4 kB / 0.9416 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005222/0.7327, allocations: 339.5 kB / 0.942 GB, free: 14.4 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 8.943e-05/0.7328, allocations: 116.8 kB / 0.9421 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.7328, allocations: 7.938 kB / 0.9421 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.733, allocations: 8 kB / 0.9421 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.733, allocations: 11.92 kB / 0.9421 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.733, allocations: 4.875 kB / 0.9421 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002198/0.7333, allocations: 237.9 kB / 0.9423 GB, free: 14 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7333, allocations: 0 / 0.9423 GB, free: 14 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004529/0.7337, allocations: 104 kB / 0.9424 GB, free: 13.9 MB / 0.7012 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.0005413/0.7343, allocations: 213.4 kB / 0.9426 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004014/0.7347, allocations: 155.7 kB / 0.9428 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.7347, allocations: 0 / 0.9428 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.7348, allocations: 63.52 kB / 0.9428 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007313/0.7356, allocations: 143.7 kB / 0.943 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007536/0.7363, allocations: 0.4942 MB / 0.9435 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.7366, allocations: 0.7597 MB / 0.9442 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001629/0.7368, allocations: 59.81 kB / 0.9443 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.202e-05/0.7369, allocations: 27.44 kB / 0.9443 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of SimCode: time 2.61e-07/0.7369, allocations: 0 / 0.9443 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of Templates: time 0.01094/0.7478, allocations: 5.927 MB / 0.9501 GB, free: 6.094 MB / 0.7012 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)