Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.001529/0.001529, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001842/0.001842, allocations: 192.7 kB / 16.14 MB, free: 6.719 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.245/1.245, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.032/2.032, allocations: 390.2 MB / 0.6643 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 59.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4791/0.4803, allocations: 140.4 MB / 0.9491 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002449/0.4828, allocations: 2.188 MB / 0.9512 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003049/0.4858, allocations: 3.766 MB / 0.9549 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.619e-05/0.4859, allocations: 2.438 kB / 0.9549 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.4862, allocations: 53.05 kB / 0.9549 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.4864, allocations: 119.6 kB / 0.955 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.4867, allocations: 123.9 kB / 0.9552 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.4869, allocations: 295.6 kB / 0.9554 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.487, allocations: 53.34 kB / 0.9555 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.4872, allocations: 120.7 kB / 0.9556 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.4873, allocations: 150.3 kB / 0.9557 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.316e-05/0.4874, allocations: 11.28 kB / 0.9558 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.4876, allocations: 121.2 kB / 0.9559 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.881e-05/0.4876, allocations: 53.03 kB / 0.9559 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.543e-05/0.4877, allocations: 115.1 kB / 0.956 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.488, allocations: 327.3 kB / 0.9563 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.488, allocations: 0 / 0.9563 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.472e-06/0.488, allocations: 3.906 kB / 0.9563 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.488, allocations: 0 / 0.9563 GB, free: 3.465 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001002/0.489, allocations: 0.6225 MB / 0.957 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.4891, allocations: 9.906 kB / 0.957 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.783e-05/0.4891, allocations: 50.08 kB / 0.957 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008098/0.4899, allocations: 168.5 kB / 0.9572 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005795/0.4905, allocations: 320.1 kB / 0.9575 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.4905, allocations: 12.47 kB / 0.9575 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.4906, allocations: 14.34 kB / 0.9575 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005754/0.4911, allocations: 223.5 kB / 0.9577 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.4911, allocations: 1.281 kB / 0.9577 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.4912, allocations: 4 kB / 0.9577 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.4912, allocations: 3.125 kB / 0.9577 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008678/0.4921, allocations: 280.1 kB / 0.958 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.4931, allocations: 0.5866 MB / 0.9586 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000475/0.4936, allocations: 158.7 kB / 0.9587 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004369/0.4941, allocations: 160.7 kB / 0.9589 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006436/0.4947, allocations: 0.5458 MB / 0.9594 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.4947, allocations: 39.88 kB / 0.9594 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.4947, allocations: 0 / 0.9594 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.001429/0.4962, allocations: 487.3 kB / 0.9599 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.228e-05/0.4962, allocations: 53.47 kB / 0.96 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.4964, allocations: 267.7 kB / 0.9602 GB, free: 392 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.4964, allocations: 29.7 kB / 0.9602 GB, free: 356 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/0.4965, allocations: 156 kB / 0.9604 GB, free: 208 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.4965, allocations: 40.64 kB / 0.9604 GB, free: 172 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.919e-05/0.4966, allocations: 42.81 kB / 0.9605 GB, free: 136 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.4967, allocations: 336.5 kB / 0.9608 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004833/0.4972, allocations: 139.9 kB / 0.9609 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004679/0.4977, allocations: 148.4 kB / 0.9611 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009148/0.4986, allocations: 299 kB / 0.9613 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4986, allocations: 4 kB / 0.9614 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001028/0.4997, allocations: 368.4 kB / 0.9617 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.4997, allocations: 5.719 kB / 0.9617 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.4997, allocations: 0 / 0.9617 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.4997, allocations: 1.312 kB / 0.9617 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000432/0.5001, allocations: 69.84 kB / 0.9618 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.5002, allocations: 9.188 kB / 0.9618 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003103/0.5005, allocations: 49.67 kB / 0.9618 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.5005, allocations: 8.016 kB / 0.9618 GB, free: 15.26 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 (17): * Single equations (assignments): 17 * 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.0001121/0.5006, allocations: 126.4 kB / 0.962 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.615e-05/0.5007, allocations: 23.59 kB / 0.962 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.5018, allocations: 388.6 kB / 0.9624 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.5018, allocations: 1.406 kB / 0.9624 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.5018, allocations: 0.9688 kB / 0.9624 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.5018, allocations: 3.938 kB / 0.9624 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.5021, allocations: 305.6 kB / 0.9627 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5022, allocations: 0 / 0.9627 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/0.5025, allocations: 61.45 kB / 0.9627 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.5026, allocations: 5.359 kB / 0.9627 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.5026, allocations: 5.234 kB / 0.9627 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.5026, allocations: 1.156 kB / 0.9627 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.5026, allocations: 0 / 0.9627 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009995/0.5036, allocations: 454 kB / 0.9632 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.619e-05/0.5037, allocations: 118.8 kB / 0.9633 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.5037, allocations: 1.188 kB / 0.9633 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003246/0.5041, allocations: 44.41 kB / 0.9633 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.994e-05/0.5042, allocations: 17.92 kB / 0.9633 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.5042, allocations: 10.64 kB / 0.9633 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001424/0.5043, allocations: 186.8 kB / 0.9635 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5043, allocations: 0 / 0.9635 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003211/0.5047, allocations: 73.58 kB / 0.9636 GB, free: 13.95 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 (13): * Single equations (assignments): 13 * 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.001389/0.5061, allocations: 1.006 MB / 0.9646 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009883/0.5071, allocations: 322.6 kB / 0.9649 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.5071, allocations: 0 / 0.9649 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004956/0.5076, allocations: 162.2 kB / 0.965 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.508, allocations: 38.7 kB / 0.9651 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004571/0.5126, allocations: 2.95 MB / 0.968 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.5128, allocations: 0.7502 MB / 0.9687 GB, free: 10 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002416/0.5131, allocations: 45.44 kB / 0.9687 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.5132, allocations: 76.3 kB / 0.9688 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.5132, allocations: 4 kB / 0.9688 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4385/0.9518, allocations: 5.293 MB / 0.974 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002156/0.9521, allocations: 216 kB / 0.9742 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/2.928, allocations: 1.969 kB / 0.9742 GB, free: 7.102 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)