Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.647/1.647, allocations: 288.4 MB / 303.3 MB, free: 8.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001066, allocations: 185.5 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.4 MB / 0.6307 GB, free: 9.941 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008319/0.0008323, allocations: 92.97 kB / 0.744 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004219/0.000422, allocations: 11.19 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.255, allocations: 115.3 MB / 0.9796 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002193/0.2573, allocations: 1.664 MB / 0.9813 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004101/0.2614, allocations: 3.451 MB / 0.9846 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002025/0.2616, allocations: 3.938 kB / 0.9846 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002511/0.2619, allocations: 39.75 kB / 0.9847 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003095/0.2622, allocations: 103.4 kB / 0.9848 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.2626, allocations: 99.77 kB / 0.9849 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.2628, allocations: 215.1 kB / 0.9851 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.263, allocations: 40.56 kB / 0.9851 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002546/0.2632, allocations: 99.61 kB / 0.9852 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.2634, allocations: 95.58 kB / 0.9853 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.2634, allocations: 8 kB / 0.9853 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.2636, allocations: 99.84 kB / 0.9854 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.015e-05/0.2637, allocations: 35.83 kB / 0.9854 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.228e-05/0.2637, allocations: 61.58 kB / 0.9855 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.264, allocations: 187.5 kB / 0.9857 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.264, allocations: 0 / 0.9857 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.294e-06/0.264, allocations: 0 / 0.9857 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.264, allocations: 0 / 0.9857 GB, free: 21.31 MB / 0.6198 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.001036/0.2651, allocations: 0.5879 MB / 0.9863 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.2651, allocations: 8.031 kB / 0.9863 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.774e-05/0.2652, allocations: 42.55 kB / 0.9863 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.2652, allocations: 23.72 kB / 0.9863 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.2656, allocations: 258.5 kB / 0.9866 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.2656, allocations: 12 kB / 0.9866 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.2657, allocations: 4 kB / 0.9866 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004729/0.2661, allocations: 197.4 kB / 0.9868 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2661, allocations: 0 / 0.9868 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.2662, allocations: 4 kB / 0.9868 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.2662, allocations: 3.938 kB / 0.9868 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006515/0.2668, allocations: 234 kB / 0.987 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000785/0.2676, allocations: 0.4886 MB / 0.9875 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003802/0.268, allocations: 146.7 kB / 0.9876 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003349/0.2684, allocations: 132.7 kB / 0.9878 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007658/0.2692, allocations: 0.5767 MB / 0.9883 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.2692, allocations: 30.56 kB / 0.9883 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.2692, allocations: 0 / 0.9883 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001124/0.2703, allocations: 425.2 kB / 0.9887 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.2704, allocations: 55.41 kB / 0.9888 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.2705, allocations: 234.7 kB / 0.989 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.2706, allocations: 25.7 kB / 0.9891 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.77e-05/0.2706, allocations: 140 kB / 0.9892 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.2707, allocations: 39.44 kB / 0.9892 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.219e-05/0.2707, allocations: 4 kB / 0.9892 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.563e-05/0.2708, allocations: 334.8 kB / 0.9895 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.2711, allocations: 115.9 kB / 0.9897 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003809/0.2715, allocations: 115.9 kB / 0.9898 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/0.2719, allocations: 115.9 kB / 0.9899 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2719, allocations: 4 kB / 0.9899 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007029/0.2726, allocations: 309 kB / 0.9902 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.2726, allocations: 4 kB / 0.9902 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2726, allocations: 0 / 0.9902 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.2726, allocations: 0 / 0.9902 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.2729, allocations: 55.94 kB / 0.9902 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.273, allocations: 4 kB / 0.9902 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.2732, allocations: 35.97 kB / 0.9903 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.2732, allocations: 7.984 kB / 0.9903 GB, free: 16.27 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.556e-05/0.2733, allocations: 125.8 kB / 0.9904 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/0.2734, allocations: 27.67 kB / 0.9904 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007798/0.2741, allocations: 323.9 kB / 0.9907 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.2742, allocations: 7.938 kB / 0.9907 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2742, allocations: 0 / 0.9907 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2742, allocations: 0 / 0.9907 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.2744, allocations: 273.4 kB / 0.991 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.2744, allocations: 0 / 0.991 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002756/0.2747, allocations: 55.95 kB / 0.9911 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2747, allocations: 4 kB / 0.9911 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.2747, allocations: 11.94 kB / 0.9911 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2747, allocations: 0 / 0.9911 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2747, allocations: 0 / 0.9911 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007379/0.2755, allocations: 399.2 kB / 0.9915 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.881e-05/0.2756, allocations: 120.7 kB / 0.9916 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/0.2756, allocations: 8 kB / 0.9916 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.2759, allocations: 39.91 kB / 0.9916 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.2759, allocations: 11.98 kB / 0.9916 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.2759, allocations: 11.98 kB / 0.9916 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.96e-05/0.276, allocations: 166 kB / 0.9918 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2761, allocations: 0 / 0.9918 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002862/0.2763, allocations: 63.84 kB / 0.9919 GB, free: 14.55 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001016/0.2774, allocations: 0.9542 MB / 0.9928 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007065/0.2781, allocations: 255.8 kB / 0.993 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2781, allocations: 0 / 0.993 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003414/0.2784, allocations: 143.8 kB / 0.9932 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.2788, allocations: 34.05 kB / 0.9932 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.2812, allocations: 1.493 MB / 0.9947 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.2813, allocations: 0.7353 MB / 0.9954 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001737/0.2815, allocations: 36.83 kB / 0.9954 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.2816, allocations: 71.39 kB / 0.9955 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2817, allocations: 0 / 0.9955 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.015/0.2967, allocations: 4.395 MB / 0.9998 GB, free: 6.543 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/0.2969, allocations: 226.1 kB / 1 GB, free: 6.297 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.909/2.206, allocations: 2.672 kB / 1 GB, free: 6.297 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)