Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001733/0.001733, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.344/1.344, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.246/2.246, allocations: 390.2 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 75.86 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5038/0.5051, allocations: 140.4 MB / 0.9492 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002581/0.5077, allocations: 2.054 MB / 0.9512 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003038/0.5107, allocations: 3.654 MB / 0.9548 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.868e-05/0.5108, allocations: 1.5 kB / 0.9548 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.5111, allocations: 49.73 kB / 0.9549 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.5113, allocations: 101.6 kB / 0.955 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.5116, allocations: 113.3 kB / 0.9551 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.5119, allocations: 250.7 kB / 0.9553 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.512, allocations: 51.84 kB / 0.9554 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.5122, allocations: 108.4 kB / 0.9555 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.5123, allocations: 123.6 kB / 0.9556 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.5123, allocations: 19.88 kB / 0.9556 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.5125, allocations: 112.7 kB / 0.9557 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.468e-05/0.5126, allocations: 43.05 kB / 0.9557 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.287e-05/0.5126, allocations: 96.62 kB / 0.9558 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.5129, allocations: 277.3 kB / 0.9561 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.5129, allocations: 0 / 0.9561 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5129, allocations: 5.25 kB / 0.9561 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.5129, allocations: 0 / 0.9561 GB, free: 3.668 MB / 0.7169 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.000958/0.5139, allocations: 0.576 MB / 0.9567 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.5139, allocations: 13.61 kB / 0.9567 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.514, allocations: 42.25 kB / 0.9567 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.514, allocations: 27.94 kB / 0.9568 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.5143, allocations: 272 kB / 0.957 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.5144, allocations: 7.969 kB / 0.957 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.5144, allocations: 4.125 kB / 0.957 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000457/0.5149, allocations: 171.1 kB / 0.9572 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.5149, allocations: 7.938 kB / 0.9572 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.5149, allocations: 5.156 kB / 0.9572 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.5149, allocations: 1.188 kB / 0.9572 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006533/0.5156, allocations: 191.2 kB / 0.9574 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007231/0.5163, allocations: 492.9 kB / 0.9579 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.5167, allocations: 121.4 kB / 0.958 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/0.517, allocations: 108.6 kB / 0.9581 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000715/0.5177, allocations: 0.549 MB / 0.9586 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.18e-05/0.5178, allocations: 32.16 kB / 0.9586 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.5178, allocations: 4 kB / 0.9586 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.001134/0.5189, allocations: 357.8 kB / 0.959 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.817e-05/0.5189, allocations: 56.72 kB / 0.959 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.5191, allocations: 234.2 kB / 0.9593 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.5191, allocations: 27.08 kB / 0.9593 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.081e-05/0.5192, allocations: 141.6 kB / 0.9594 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.5192, allocations: 35.58 kB / 0.9595 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.303e-05/0.5193, allocations: 35.31 kB / 0.9595 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.216e-05/0.5194, allocations: 331 kB / 0.9598 GB, free: 440 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/0.5197, allocations: 96.16 kB / 0.9599 GB, free: 396 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003233/0.52, allocations: 95.44 kB / 0.96 GB, free: 352 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006448/0.5207, allocations: 198.4 kB / 0.9602 GB, free: 256 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.5207, allocations: 7.938 kB / 0.9602 GB, free: 248 kB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007423/0.5214, allocations: 256.4 kB / 0.9604 GB, free: 108 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.5215, allocations: 5.344 kB / 0.9604 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.5215, allocations: 4 kB / 0.9604 GB, free: 104 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.5215, allocations: 1 kB / 0.9604 GB, free: 104 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/0.5218, allocations: 44.72 kB / 0.9605 GB, free: 88 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.5218, allocations: 5.062 kB / 0.9605 GB, free: 84 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.5221, allocations: 26.75 kB / 0.9605 GB, free: 72 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.5221, allocations: 7.422 kB / 0.9605 GB, free: 68 kB / 0.7169 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 0.0001155/0.5222, allocations: 125.4 kB / 0.9606 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/0.5223, allocations: 22.19 kB / 0.9607 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008957/0.5232, allocations: 299.4 kB / 0.9609 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.5232, allocations: 1.125 kB / 0.9609 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.5232, allocations: 9 kB / 0.961 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.5232, allocations: 0 / 0.961 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.5235, allocations: 273.5 kB / 0.9612 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.5235, allocations: 0 / 0.9612 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003081/0.5238, allocations: 45.45 kB / 0.9613 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.5238, allocations: 9.203 kB / 0.9613 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.5239, allocations: 0.875 kB / 0.9613 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.5239, allocations: 0.9375 kB / 0.9613 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5239, allocations: 7.875 kB / 0.9613 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000839/0.5247, allocations: 353 kB / 0.9616 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-05/0.5248, allocations: 109.5 kB / 0.9617 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.5249, allocations: 5.188 kB / 0.9617 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.5251, allocations: 26.3 kB / 0.9617 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.754e-05/0.5252, allocations: 16.98 kB / 0.9618 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.5252, allocations: 10.95 kB / 0.9618 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001354/0.5254, allocations: 168.5 kB / 0.9619 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5254, allocations: 0 / 0.9619 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003186/0.5257, allocations: 63.84 kB / 0.962 GB, free: 14.91 MB / 0.7325 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.001158/0.5269, allocations: 0.9178 MB / 0.9629 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007958/0.5277, allocations: 220.7 kB / 0.9631 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5277, allocations: 0 / 0.9631 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003826/0.5281, allocations: 120.3 kB / 0.9632 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.5285, allocations: 34.05 kB / 0.9632 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003838/0.5324, allocations: 2.507 MB / 0.9657 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.5326, allocations: 0.7348 MB / 0.9664 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001886/0.5328, allocations: 33.97 kB / 0.9664 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.533, allocations: 75.61 kB / 0.9665 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of SimCode: time 3.9e-07/0.533, allocations: 3.938 kB / 0.9665 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.172/1.705, allocations: 4.609 MB / 0.971 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/1.705, allocations: 226.1 kB / 0.9712 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/4.104, allocations: 0 / 0.9712 GB, free: 8.789 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)