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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.000945/0.0009452, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.0054/0.005401, allocations: 170 kB / 16.26 MB, free: 6.613 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.222/1.222, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.052/2.052, allocations: 390.9 MB / 0.6664 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002755/0.0002755, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4837/0.484, allocations: 142.4 MB / 0.9552 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.001442/0.4855, allocations: 1.709 MB / 0.9568 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002693/0.4882, allocations: 3.631 MB / 0.9604 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.664e-05/0.4883, allocations: 1.25 kB / 0.9604 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.4885, allocations: 42.19 kB / 0.9604 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.4887, allocations: 104.8 kB / 0.9605 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.4889, allocations: 108.9 kB / 0.9606 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.4891, allocations: 235.1 kB / 0.9609 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.221e-05/0.4892, allocations: 50.28 kB / 0.9609 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.4894, allocations: 92.86 kB / 0.961 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.4895, allocations: 103.2 kB / 0.9611 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.4895, allocations: 12.25 kB / 0.9611 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.4897, allocations: 112.1 kB / 0.9612 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.814e-05/0.4897, allocations: 44.06 kB / 0.9612 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.622e-05/0.4898, allocations: 108.5 kB / 0.9614 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.49, allocations: 258.7 kB / 0.9616 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.49, allocations: 1.062 kB / 0.9616 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.49, allocations: 0 / 0.9616 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.49, allocations: 3.938 kB / 0.9616 GB, free: 2.672 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.0008488/0.4909, allocations: 0.5816 MB / 0.9622 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.4909, allocations: 8.906 kB / 0.9622 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.261e-05/0.491, allocations: 37.38 kB / 0.9622 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.491, allocations: 27.94 kB / 0.9622 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.4913, allocations: 270.7 kB / 0.9625 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.4913, allocations: 3.438 kB / 0.9625 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.4914, allocations: 9.188 kB / 0.9625 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004433/0.4918, allocations: 199.1 kB / 0.9627 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.4918, allocations: 0.8125 kB / 0.9627 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.4918, allocations: 0.9688 kB / 0.9627 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4918, allocations: 6.031 kB / 0.9627 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006468/0.4925, allocations: 238.9 kB / 0.9629 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006433/0.4932, allocations: 0.491 MB / 0.9634 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.4935, allocations: 148.5 kB / 0.9636 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00033/0.4939, allocations: 132.5 kB / 0.9637 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006632/0.4945, allocations: 0.5704 MB / 0.9642 GB, free: 460 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.389e-05/0.4946, allocations: 32.16 kB / 0.9643 GB, free: 420 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.4946, allocations: 4 kB / 0.9643 GB, free: 416 kB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.001094/0.4957, allocations: 422.6 kB / 0.9647 GB, free: 220 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.893e-05/0.4957, allocations: 56.34 kB / 0.9647 GB, free: 152 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.4959, allocations: 231.5 kB / 0.965 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.4959, allocations: 34.86 kB / 0.965 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.066e-05/0.496, allocations: 140.9 kB / 0.9651 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.496, allocations: 36.42 kB / 0.9652 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.4961, allocations: 16.22 kB / 0.9652 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.704e-05/0.4962, allocations: 333.2 kB / 0.9655 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003404/0.4965, allocations: 118.9 kB / 0.9656 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.4968, allocations: 120.7 kB / 0.9657 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006476/0.4975, allocations: 236.4 kB / 0.9659 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4975, allocations: 1.031 kB / 0.9659 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007513/0.4982, allocations: 298.1 kB / 0.9662 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.4983, allocations: 5.344 kB / 0.9662 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.4983, allocations: 0.9688 kB / 0.9662 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.4983, allocations: 0 / 0.9662 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.4986, allocations: 58.88 kB / 0.9663 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.4986, allocations: 5.094 kB / 0.9663 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.4988, allocations: 40.67 kB / 0.9663 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.4988, allocations: 10.66 kB / 0.9663 GB, free: 15.05 MB / 0.7325 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.000101/0.4989, allocations: 130 kB / 0.9665 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.499, allocations: 21.56 kB / 0.9665 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008337/0.4998, allocations: 318.2 kB / 0.9668 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.4998, allocations: 1.719 kB / 0.9668 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4998, allocations: 7.938 kB / 0.9668 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.4998, allocations: 8.938 kB / 0.9668 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.5001, allocations: 277.8 kB / 0.9671 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5001, allocations: 0 / 0.9671 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.5004, allocations: 58.16 kB / 0.9671 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.5004, allocations: 1 kB / 0.9671 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.5004, allocations: 6 kB / 0.9671 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5004, allocations: 4 kB / 0.9671 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5004, allocations: 4.938 kB / 0.9671 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007896/0.5012, allocations: 402.2 kB / 0.9675 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.184e-05/0.5013, allocations: 113.4 kB / 0.9676 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.5013, allocations: 1.219 kB / 0.9676 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.5016, allocations: 40.47 kB / 0.9677 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.5017, allocations: 20.94 kB / 0.9677 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.5017, allocations: 3.188 kB / 0.9677 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001225/0.5018, allocations: 168 kB / 0.9679 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5018, allocations: 0 / 0.9679 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002777/0.5021, allocations: 60.48 kB / 0.9679 GB, free: 13.89 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.0011/0.5032, allocations: 0.9591 MB / 0.9689 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007427/0.5039, allocations: 264.8 kB / 0.9691 GB, free: 13 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.504, allocations: 0 / 0.9691 GB, free: 13 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003653/0.5043, allocations: 134.7 kB / 0.9692 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.5047, allocations: 33 kB / 0.9693 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003448/0.5081, allocations: 2.644 MB / 0.9719 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.5084, allocations: 0.739 MB / 0.9726 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001565/0.5085, allocations: 38.64 kB / 0.9726 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.5087, allocations: 66.14 kB / 0.9727 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of SimCode: time 3.91e-07/0.5087, allocations: 0 / 0.9727 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.463/5.972, allocations: 4.417 MB / 0.977 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000268/5.972, allocations: 219.5 kB / 0.9772 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/7.668, allocations: 0 / 0.9772 GB, free: 7.863 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)