Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 105.8 kB / 16.64 MB, free: 6.816 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.001352/0.001352, allocations: 186 kB / 17.57 MB, free: 5.922 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.421/1.421, allocations: 222.9 MB / 241.2 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8158/0.8158, allocations: 125.4 MB / 416.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001948, allocations: 71.88 kB / 0.4943 GB, free: 4.805 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4028, allocations: 78.56 MB / 0.571 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003172/0.406, allocations: 2.091 MB / 0.5731 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004656/0.4107, allocations: 4.017 MB / 0.577 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.4109, allocations: 2.031 kB / 0.577 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008822/0.4118, allocations: 189.2 kB / 0.5772 GB, free: 27.01 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.412, allocations: 52.67 kB / 0.5772 GB, free: 26.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007061/0.4127, allocations: 236.8 kB / 0.5774 GB, free: 26.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006102/0.4133, allocations: 389.5 kB / 0.5778 GB, free: 26.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.4135, allocations: 42.58 kB / 0.5778 GB, free: 26.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.4136, allocations: 117.1 kB / 0.578 GB, free: 26.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.4138, allocations: 140.9 kB / 0.5781 GB, free: 26.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.155e-05/0.4139, allocations: 16.09 kB / 0.5781 GB, free: 26.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005589/0.4144, allocations: 300.9 kB / 0.5784 GB, free: 26.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.4146, allocations: 107.5 kB / 0.5785 GB, free: 26.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.4147, allocations: 145.5 kB / 0.5786 GB, free: 26.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005301/0.4153, allocations: 364.2 kB / 0.579 GB, free: 26.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4153, allocations: 0.9844 kB / 0.579 GB, free: 26.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4153, allocations: 1.469 kB / 0.579 GB, free: 26.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.4153, allocations: 0 / 0.579 GB, free: 26.29 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001277/0.4166, allocations: 0.7445 MB / 0.5797 GB, free: 25.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.4166, allocations: 9.625 kB / 0.5797 GB, free: 25.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.561e-05/0.4167, allocations: 36.12 kB / 0.5798 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00044/0.4172, allocations: 343.4 kB / 0.5801 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.4172, allocations: 3.125 kB / 0.5801 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.4172, allocations: 15.09 kB / 0.5801 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005231/0.4178, allocations: 194.1 kB / 0.5803 GB, free: 25.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.4178, allocations: 3.562 kB / 0.5803 GB, free: 25.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.4178, allocations: 0 / 0.5803 GB, free: 25.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.4178, allocations: 3.5 kB / 0.5803 GB, free: 25.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006929/0.4185, allocations: 251.6 kB / 0.5805 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009047/0.4194, allocations: 0.5892 MB / 0.5811 GB, free: 24.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/0.4199, allocations: 177.1 kB / 0.5813 GB, free: 24.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003446/0.4202, allocations: 133.3 kB / 0.5814 GB, free: 24.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.403e-05/0.4203, allocations: 20.41 kB / 0.5814 GB, free: 24.63 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.4203, allocations: 35.98 kB / 0.5815 GB, free: 24.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 2.454e-06/0.4203, allocations: 3.938 kB / 0.5815 GB, free: 24.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.00119/0.4215, allocations: 438.4 kB / 0.5819 GB, free: 24.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.4216, allocations: 56.3 kB / 0.5819 GB, free: 24.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003873/0.422, allocations: 411.2 kB / 0.5823 GB, free: 24.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.422, allocations: 26.8 kB / 0.5824 GB, free: 24.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.409e-05/0.4221, allocations: 181.7 kB / 0.5825 GB, free: 23.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.4221, allocations: 40.38 kB / 0.5826 GB, free: 23.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.681e-05/0.4222, allocations: 45.34 kB / 0.5826 GB, free: 23.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.461e-05/0.4223, allocations: 343.4 kB / 0.5829 GB, free: 23.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003723/0.4227, allocations: 168.3 kB / 0.5831 GB, free: 23.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003746/0.423, allocations: 173.8 kB / 0.5833 GB, free: 23.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006985/0.4238, allocations: 355 kB / 0.5836 GB, free: 23.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4238, allocations: 0 / 0.5836 GB, free: 23.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008922/0.4247, allocations: 473.3 kB / 0.584 GB, free: 22.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/0.4247, allocations: 42.88 kB / 0.5841 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.4247, allocations: 0.9062 kB / 0.5841 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.4247, allocations: 1.25 kB / 0.5841 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.4251, allocations: 54.33 kB / 0.5841 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4251, allocations: 0 / 0.5841 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.4253, allocations: 43.64 kB / 0.5842 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.4254, allocations: 9.219 kB / 0.5842 GB, free: 22.86 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001411/0.4255, allocations: 158.9 kB / 0.5843 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.788e-05/0.4256, allocations: 33.36 kB / 0.5844 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008674/0.4265, allocations: 340.4 kB / 0.5847 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4265, allocations: 5.75 kB / 0.5847 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4265, allocations: 2.406 kB / 0.5847 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.4265, allocations: 0 / 0.5847 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.4268, allocations: 338.8 kB / 0.585 GB, free: 22.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4268, allocations: 0 / 0.585 GB, free: 22.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002819/0.4271, allocations: 55.97 kB / 0.5851 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4271, allocations: 1.188 kB / 0.5851 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.4272, allocations: 1.25 kB / 0.5851 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.4272, allocations: 3.938 kB / 0.5851 GB, free: 22.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4272, allocations: 1.438 kB / 0.5851 GB, free: 22.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007835/0.428, allocations: 414.5 kB / 0.5855 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.4281, allocations: 134.7 kB / 0.5856 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.711e-05/0.4281, allocations: 2.75 kB / 0.5856 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.4284, allocations: 31.48 kB / 0.5857 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.4285, allocations: 12.52 kB / 0.5857 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.4285, allocations: 7.562 kB / 0.5857 GB, free: 21.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002621/0.4288, allocations: 296 kB / 0.586 GB, free: 21.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4288, allocations: 0 / 0.586 GB, free: 21.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006572/0.4294, allocations: 113.8 kB / 0.5861 GB, free: 21.57 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 (11): * Single equations (assignments): 11 * 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.0003531/0.4298, allocations: 178.9 kB / 0.5862 GB, free: 21.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009811/0.4308, allocations: 0.5061 MB / 0.5867 GB, free: 21.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4308, allocations: 0.9375 kB / 0.5867 GB, free: 21.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003766/0.4312, allocations: 137.5 kB / 0.5869 GB, free: 21.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005495/0.4317, allocations: 60.34 kB / 0.5869 GB, free: 21.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.4328, allocations: 0.751 MB / 0.5876 GB, free: 20.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.4331, allocations: 0.7882 MB / 0.5884 GB, free: 19.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.4332, allocations: 28.05 kB / 0.5884 GB, free: 19.83 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4332, allocations: 0 / 0.5884 GB, free: 19.83 MB / 446.1 MB Notification: Performance of Templates: time 0.007283/0.4405, allocations: 4.773 MB / 0.5931 GB, free: 16.75 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)