Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001202/0.001202, allocations: 106.7 kB / 16.37 MB, free: 6.477 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.001297/0.001298, allocations: 189.8 kB / 17.31 MB, free: 5.824 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.629/1.629, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.787/1.787, allocations: 292.3 MB / 0.5496 GB, free: 17.45 MB / 462.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.001423/0.001424, allocations: 71.19 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2712, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003564/0.2748, allocations: 2.014 MB / 0.7868 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4749/0.7497, allocations: 3.683 MB / 0.7904 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.7499, allocations: 1.219 kB / 0.7904 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.7504, allocations: 58.22 kB / 0.7904 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003696/0.7507, allocations: 106.7 kB / 0.7905 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003682/0.7511, allocations: 124.7 kB / 0.7906 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003098/0.7514, allocations: 255.5 kB / 0.7909 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.7516, allocations: 53.61 kB / 0.7909 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.7518, allocations: 117.5 kB / 0.791 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.752, allocations: 123.5 kB / 0.7912 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.752, allocations: 17.38 kB / 0.7912 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.7522, allocations: 106.1 kB / 0.7913 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.644e-05/0.7523, allocations: 51.19 kB / 0.7913 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.171e-05/0.7524, allocations: 101.7 kB / 0.7914 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.7527, allocations: 278.9 kB / 0.7917 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.7527, allocations: 2.625 kB / 0.7917 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7527, allocations: 1.969 kB / 0.7917 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.7527, allocations: 0 / 0.7917 GB, free: 46.25 MB / 0.6544 GB 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.001032/0.7538, allocations: 0.5867 MB / 0.7923 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.7538, allocations: 9.594 kB / 0.7923 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.68e-05/0.7539, allocations: 23.16 kB / 0.7923 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003579/0.7542, allocations: 265.6 kB / 0.7925 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.7543, allocations: 8.781 kB / 0.7926 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.7543, allocations: 5.625 kB / 0.7926 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004692/0.7548, allocations: 174.2 kB / 0.7927 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.7548, allocations: 0 / 0.7927 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.7548, allocations: 3.719 kB / 0.7927 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.7548, allocations: 0.6562 kB / 0.7927 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006507/0.7555, allocations: 201.8 kB / 0.7929 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007994/0.7563, allocations: 486.4 kB / 0.7934 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.7567, allocations: 129.7 kB / 0.7935 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003305/0.757, allocations: 109.3 kB / 0.7936 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007248/0.7578, allocations: 0.5475 MB / 0.7942 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.7578, allocations: 32.06 kB / 0.7942 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.7578, allocations: 0 / 0.7942 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.001133/0.7589, allocations: 360 kB / 0.7945 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.759, allocations: 54.22 kB / 0.7946 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.7592, allocations: 236.2 kB / 0.7948 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.7592, allocations: 25.7 kB / 0.7948 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.543e-05/0.7593, allocations: 149.6 kB / 0.795 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.7593, allocations: 38.72 kB / 0.795 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.789e-05/0.7594, allocations: 29.62 kB / 0.795 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.772e-05/0.7595, allocations: 334.9 kB / 0.7954 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.7598, allocations: 94.44 kB / 0.7954 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/0.7601, allocations: 93.41 kB / 0.7955 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006063/0.7608, allocations: 195.7 kB / 0.7957 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.7608, allocations: 0 / 0.7957 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007075/0.7615, allocations: 269.6 kB / 0.796 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.7615, allocations: 5.625 kB / 0.796 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.7615, allocations: 0 / 0.796 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.7615, allocations: 4 kB / 0.796 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.7618, allocations: 46.14 kB / 0.796 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.7619, allocations: 3.938 kB / 0.796 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.7621, allocations: 26.03 kB / 0.7961 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.7621, allocations: 6.734 kB / 0.7961 GB, free: 43.84 MB / 0.6544 GB 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 (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 prepare postOptimizeDAE: time 9.922e-05/0.7622, allocations: 127.7 kB / 0.7962 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/0.7623, allocations: 21.75 kB / 0.7962 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008174/0.7631, allocations: 289.9 kB / 0.7965 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.7631, allocations: 3.094 kB / 0.7965 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.7631, allocations: 7.375 kB / 0.7965 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.7631, allocations: 3.422 kB / 0.7965 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.7634, allocations: 270.3 kB / 0.7968 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.7634, allocations: 0 / 0.7968 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.7637, allocations: 45.16 kB / 0.7968 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.7637, allocations: 0 / 0.7968 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.7637, allocations: 11.19 kB / 0.7968 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7637, allocations: 0 / 0.7968 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.7637, allocations: 3.938 kB / 0.7968 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007346/0.7644, allocations: 363.6 kB / 0.7972 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.422e-05/0.7645, allocations: 109.5 kB / 0.7973 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.7646, allocations: 3 kB / 0.7973 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.7648, allocations: 26.84 kB / 0.7973 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.84e-05/0.7649, allocations: 17.28 kB / 0.7973 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.7649, allocations: 7.281 kB / 0.7973 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001188/0.765, allocations: 171.1 kB / 0.7975 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.765, allocations: 0 / 0.7975 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000326/0.7654, allocations: 62.3 kB / 0.7975 GB, free: 43.12 MB / 0.6544 GB 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.0002199/0.7656, allocations: 135.3 kB / 0.7977 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007565/0.7664, allocations: 221.5 kB / 0.7979 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7664, allocations: 0 / 0.7979 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003486/0.7667, allocations: 112.9 kB / 0.798 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.7671, allocations: 33.77 kB / 0.798 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008432/0.768, allocations: 446.2 kB / 0.7984 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/0.7682, allocations: 0.7359 MB / 0.7992 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.644e-05/0.7683, allocations: 25.09 kB / 0.7992 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.7683, allocations: 0 / 0.7992 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of Templates: time 0.006165/0.7745, allocations: 2.979 MB / 0.8021 GB, free: 41.88 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)