Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 105.5 kB / 16.94 MB, free: 6.156 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.001742/0.001742, allocations: 189.3 kB / 17.87 MB, free: 5.293 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.46/1.46, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8078/0.8078, allocations: 125.4 MB / 417.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 75.88 kB / 0.4948 GB, free: 4.387 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4131, allocations: 78.56 MB / 0.5715 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003271/0.4164, allocations: 1.859 MB / 0.5733 GB, free: 30.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00393/0.4204, allocations: 3.587 MB / 0.5768 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.4205, allocations: 1.406 kB / 0.5768 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008982/0.4215, allocations: 189.8 kB / 0.577 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.4218, allocations: 77.59 kB / 0.5771 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.428e-05/0.4219, allocations: 25.84 kB / 0.5771 GB, free: 27.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004565/0.4223, allocations: 262 kB / 0.5774 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.4225, allocations: 26.09 kB / 0.5774 GB, free: 27.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.4226, allocations: 79.72 kB / 0.5775 GB, free: 27.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.4227, allocations: 82.64 kB / 0.5775 GB, free: 27.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.4228, allocations: 7.312 kB / 0.5776 GB, free: 27.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.443e-05/0.4229, allocations: 28.56 kB / 0.5776 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.81e-05/0.423, allocations: 54.27 kB / 0.5776 GB, free: 27.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.058e-05/0.4231, allocations: 95.33 kB / 0.5777 GB, free: 27.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.4233, allocations: 184 kB / 0.5779 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4233, allocations: 3.938 kB / 0.5779 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4234, allocations: 0 / 0.5779 GB, free: 27.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.4234, allocations: 2.188 kB / 0.5779 GB, free: 27.12 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008413/0.4242, allocations: 0.5277 MB / 0.5784 GB, free: 26.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.4243, allocations: 10.44 kB / 0.5784 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.577e-05/0.4243, allocations: 21.56 kB / 0.5785 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.4246, allocations: 247.1 kB / 0.5787 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.4247, allocations: 7.25 kB / 0.5787 GB, free: 26.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.4247, allocations: 18.73 kB / 0.5787 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/0.4251, allocations: 144.4 kB / 0.5788 GB, free: 26.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.4251, allocations: 0 / 0.5788 GB, free: 26.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.4251, allocations: 4.562 kB / 0.5789 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-05/0.4252, allocations: 14.73 kB / 0.5789 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004378/0.4256, allocations: 140.2 kB / 0.579 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007006/0.4263, allocations: 462.6 kB / 0.5794 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.4268, allocations: 171.7 kB / 0.5796 GB, free: 25.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002593/0.427, allocations: 106.1 kB / 0.5797 GB, free: 25.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.4271, allocations: 2 kB / 0.5797 GB, free: 25.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.4271, allocations: 33.33 kB / 0.5797 GB, free: 25.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.4271, allocations: 2.344 kB / 0.5797 GB, free: 25.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008503/0.4279, allocations: 299.8 kB / 0.58 GB, free: 25.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.428, allocations: 53.48 kB / 0.5801 GB, free: 25.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.4282, allocations: 248.2 kB / 0.5803 GB, free: 25.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.4282, allocations: 35.11 kB / 0.5803 GB, free: 25.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.422e-05/0.4283, allocations: 131.9 kB / 0.5805 GB, free: 25.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.511e-05/0.4284, allocations: 39.7 kB / 0.5805 GB, free: 25.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.3e-05/0.4284, allocations: 35.28 kB / 0.5805 GB, free: 25.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.723e-05/0.4285, allocations: 331.3 kB / 0.5809 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.4288, allocations: 72.69 kB / 0.5809 GB, free: 24.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.429, allocations: 84.34 kB / 0.581 GB, free: 24.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004229/0.4294, allocations: 162 kB / 0.5812 GB, free: 24.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4294, allocations: 0.625 kB / 0.5812 GB, free: 24.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000512/0.4299, allocations: 221.6 kB / 0.5814 GB, free: 24.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.43, allocations: 6.375 kB / 0.5814 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.43, allocations: 1.906 kB / 0.5814 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.43, allocations: 0 / 0.5814 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.4303, allocations: 36.36 kB / 0.5814 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.4303, allocations: 1.125 kB / 0.5814 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.4304, allocations: 25.92 kB / 0.5814 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.4305, allocations: 3.344 kB / 0.5815 GB, free: 24.69 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.0001146/0.4306, allocations: 139.9 kB / 0.5816 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.678e-05/0.4306, allocations: 27.14 kB / 0.5816 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.745e-05/0.4307, allocations: 24.84 kB / 0.5816 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4307, allocations: 1.406 kB / 0.5816 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.4307, allocations: 1.406 kB / 0.5816 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.4307, allocations: 8.453 kB / 0.5816 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.431, allocations: 269.8 kB / 0.5819 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.431, allocations: 1.688 kB / 0.5819 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.4312, allocations: 32.5 kB / 0.5819 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.4312, allocations: 4.938 kB / 0.5819 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.4313, allocations: 9.797 kB / 0.5819 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4313, allocations: 1.156 kB / 0.5819 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4313, allocations: 1.875 kB / 0.582 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005416/0.4318, allocations: 328.9 kB / 0.5823 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-05/0.4319, allocations: 116 kB / 0.5824 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.4319, allocations: 2.719 kB / 0.5824 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.4321, allocations: 12.23 kB / 0.5824 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.605e-05/0.4322, allocations: 16.33 kB / 0.5824 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.4322, allocations: 8.109 kB / 0.5824 GB, free: 23.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001391/0.4324, allocations: 178.3 kB / 0.5826 GB, free: 23.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4324, allocations: 0 / 0.5826 GB, free: 23.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002874/0.4327, allocations: 46.89 kB / 0.5826 GB, free: 23.72 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.0001502/0.4328, allocations: 104.5 kB / 0.5827 GB, free: 23.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00053/0.4334, allocations: 190.2 kB / 0.5829 GB, free: 23.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4334, allocations: 0 / 0.5829 GB, free: 23.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002336/0.4336, allocations: 98.98 kB / 0.583 GB, free: 23.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.4341, allocations: 52.44 kB / 0.5831 GB, free: 23.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008526/0.435, allocations: 0.4989 MB / 0.5835 GB, free: 23.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.4352, allocations: 0.7435 MB / 0.5843 GB, free: 22.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.499e-05/0.4352, allocations: 20.73 kB / 0.5843 GB, free: 22.41 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4353, allocations: 0 / 0.5843 GB, free: 22.41 MB / 446.1 MB Notification: Performance of Templates: time 0.004741/0.44, allocations: 2.736 MB / 0.587 GB, free: 21.03 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)