Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.01017/0.01017, allocations: 106.3 kB / 15.74 MB, free: 6.008 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.002044/0.002045, allocations: 199.2 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.1 MB / 222.5 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, allocations: 251.7 MB / 0.5094 GB, free: 416 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001689/0.00169, allocations: 67.89 kB / 0.7258 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7025/0.7042, allocations: 104.7 MB / 0.828 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2097/0.9139, allocations: 163.3 MB / 0.9876 GB, free: 14.52 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.006025/0.92, allocations: 4.627 MB / 0.9921 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004844/0.9205, allocations: 7.938 kB / 0.9921 GB, free: 9.871 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0006146/0.9211, allocations: 131.1 kB / 0.9922 GB, free: 9.742 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001753/0.923, allocations: 0.5563 MB / 0.9928 GB, free: 9.184 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001949/0.9249, allocations: 0.7842 MB / 0.9935 GB, free: 8.402 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000856/0.9258, allocations: 0.5768 MB / 0.9941 GB, free: 7.824 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004569/0.9263, allocations: 209.1 kB / 0.9943 GB, free: 7.621 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.9274, allocations: 482.2 kB / 0.9948 GB, free: 7.148 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006622/0.928, allocations: 287 kB / 0.995 GB, free: 6.867 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.508e-05/0.9281, allocations: 19.94 kB / 0.995 GB, free: 6.848 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.9298, allocations: 1.005 MB / 0.996 GB, free: 5.84 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.93, allocations: 91.72 kB / 0.9961 GB, free: 5.75 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.9301, allocations: 119.4 kB / 0.9962 GB, free: 5.633 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.9314, allocations: 0.7115 MB / 0.9969 GB, free: 4.922 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.9314, allocations: 4 kB / 0.9969 GB, free: 4.918 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.684e-06/0.9314, allocations: 0 / 0.9969 GB, free: 4.918 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.9314, allocations: 0 / 0.9969 GB, free: 4.918 MB / 0.795 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.001088/0.9325, allocations: 0.5996 MB / 0.9975 GB, free: 4.27 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.9326, allocations: 8.031 kB / 0.9975 GB, free: 4.262 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006871/0.9333, allocations: 79.58 kB / 0.9976 GB, free: 4.184 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004061/0.9337, allocations: 298.1 kB / 0.9979 GB, free: 3.852 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.9337, allocations: 16 kB / 0.9979 GB, free: 3.836 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.032e-05/0.9338, allocations: 16 kB / 0.9979 GB, free: 3.82 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000484/0.9342, allocations: 283.5 kB / 0.9982 GB, free: 3.516 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.9343, allocations: 4 kB / 0.9982 GB, free: 3.512 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.9343, allocations: 8 kB / 0.9982 GB, free: 3.504 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.9343, allocations: 7.938 kB / 0.9982 GB, free: 3.496 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000429/0.9347, allocations: 203.8 kB / 0.9984 GB, free: 3.297 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.9363, allocations: 1.249 MB / 0.9996 GB, free: 1.969 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.9366, allocations: 169 kB / 0.9998 GB, free: 1.758 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.9368, allocations: 116.4 kB / 0.9999 GB, free: 1.629 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007334/0.9375, allocations: 335.2 kB / 1 GB, free: 1.246 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.9376, allocations: 34.56 kB / 1 GB, free: 1.203 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.9376, allocations: 0 / 1 GB, free: 1.203 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0007481/0.9383, allocations: 285 kB / 1.001 GB, free: 0.918 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.993e-05/0.9384, allocations: 154.2 kB / 1.001 GB, free: 0.7305 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.9387, allocations: 279 kB / 1.001 GB, free: 464 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.9387, allocations: 29.7 kB / 1.001 GB, free: 428 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.9389, allocations: 148.3 kB / 1.001 GB, free: 276 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.9389, allocations: 47.36 kB / 1.001 GB, free: 228 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.049e-05/0.939, allocations: 46.02 kB / 1.001 GB, free: 176 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.9391, allocations: 342.7 kB / 1.002 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.9393, allocations: 67.94 kB / 1.002 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.9395, allocations: 139.6 kB / 1.002 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.9399, allocations: 207.5 kB / 1.002 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.9399, allocations: 4 kB / 1.002 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005154/0.9404, allocations: 249.2 kB / 1.002 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.9405, allocations: 8 kB / 1.002 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.9405, allocations: 0 / 1.002 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.9405, allocations: 4 kB / 1.002 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.9407, allocations: 35.92 kB / 1.002 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.9407, allocations: 4 kB / 1.002 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.9409, allocations: 31.67 kB / 1.002 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.9409, allocations: 15.94 kB / 1.002 GB, free: 15.02 MB / 0.8106 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.000138/0.9411, allocations: 153.9 kB / 1.002 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.9412, allocations: 27.75 kB / 1.002 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004569/0.9417, allocations: 181.9 kB / 1.003 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.9417, allocations: 4 kB / 1.003 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.9417, allocations: 0 / 1.003 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.9417, allocations: 0 / 1.003 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009696/0.9427, allocations: 0.8548 MB / 1.003 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.9427, allocations: 128 / 1.003 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.9428, allocations: 35.92 kB / 1.003 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.9429, allocations: 3.938 kB / 1.003 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.9429, allocations: 4 kB / 1.003 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.9429, allocations: 0 / 1.003 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.9429, allocations: 4.156 kB / 1.003 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005935/0.9435, allocations: 339.4 kB / 1.004 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-05/0.9436, allocations: 112.8 kB / 1.004 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.9436, allocations: 96 / 1.004 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.9438, allocations: 19.92 kB / 1.004 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.9439, allocations: 11.92 kB / 1.004 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.9439, allocations: 4 kB / 1.004 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002302/0.9441, allocations: 229.9 kB / 1.004 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.473e-06/0.9441, allocations: 0 / 1.004 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004699/0.9446, allocations: 103.9 kB / 1.004 GB, free: 12.8 MB / 0.8106 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.0005357/0.9451, allocations: 213.5 kB / 1.004 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004029/0.9456, allocations: 155.8 kB / 1.005 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.9456, allocations: 0 / 1.005 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.9457, allocations: 63.83 kB / 1.005 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007694/0.9465, allocations: 148.7 kB / 1.005 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008371/0.9474, allocations: 488 kB / 1.005 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.9477, allocations: 0.7558 MB / 1.006 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001825/0.9479, allocations: 66.92 kB / 1.006 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.948, allocations: 19.44 kB / 1.006 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of SimCode: time 3.51e-07/0.948, allocations: 4 kB / 1.006 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of Templates: time 0.01102/0.959, allocations: 5.76 MB / 1.012 GB, free: 5.164 MB / 0.8106 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)