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.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.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.001112/0.001113, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 195.4 kB / 16.53 MB, free: 6.699 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.242/1.242, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.296/2.296, allocations: 390.3 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.00128, allocations: 67.91 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.542/0.5433, allocations: 140.4 MB / 0.9497 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002634/0.546, allocations: 2.144 MB / 0.9518 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00339/0.5494, allocations: 3.788 MB / 0.9555 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.926e-05/0.5495, allocations: 5.375 kB / 0.9555 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000241/0.5497, allocations: 66.03 kB / 0.9556 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.55, allocations: 130.7 kB / 0.9557 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.5503, allocations: 149.1 kB / 0.9558 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.5506, allocations: 306.1 kB / 0.9561 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.5507, allocations: 57.55 kB / 0.9562 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.5509, allocations: 133 kB / 0.9563 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.5511, allocations: 153.2 kB / 0.9565 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.319e-05/0.5511, allocations: 20.84 kB / 0.9565 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002159/0.5513, allocations: 129.8 kB / 0.9566 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.567e-05/0.5514, allocations: 57.2 kB / 0.9567 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.756e-05/0.5515, allocations: 122.8 kB / 0.9568 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003283/0.5518, allocations: 341.6 kB / 0.9571 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.5518, allocations: 1.531 kB / 0.9571 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5519, allocations: 0 / 0.9571 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.5519, allocations: 0 / 0.9571 GB, free: 3.285 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.001112/0.553, allocations: 0.6329 MB / 0.9577 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.553, allocations: 9.094 kB / 0.9577 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.144e-05/0.5531, allocations: 38.31 kB / 0.9578 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009658/0.554, allocations: 173.8 kB / 0.9579 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006396/0.5547, allocations: 318.8 kB / 0.9582 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.5547, allocations: 12.44 kB / 0.9583 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.5547, allocations: 14.81 kB / 0.9583 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006312/0.5554, allocations: 222.8 kB / 0.9585 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.5554, allocations: 0 / 0.9585 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.5554, allocations: 5.375 kB / 0.9585 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.5554, allocations: 2.75 kB / 0.9585 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009931/0.5564, allocations: 280.9 kB / 0.9588 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.5576, allocations: 0.5786 MB / 0.9593 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005419/0.5581, allocations: 169.7 kB / 0.9595 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000498/0.5586, allocations: 153.7 kB / 0.9596 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007034/0.5593, allocations: 0.5452 MB / 0.9602 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.5594, allocations: 39.62 kB / 0.9602 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.5594, allocations: 0 / 0.9602 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.001648/0.561, allocations: 487.3 kB / 0.9607 GB, free: 476 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.5611, allocations: 52.12 kB / 0.9607 GB, free: 412 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.5613, allocations: 272.3 kB / 0.961 GB, free: 212 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.5613, allocations: 26.83 kB / 0.961 GB, free: 180 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.5614, allocations: 155.3 kB / 0.9611 GB, free: 32 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.885e-05/0.5614, allocations: 44.47 kB / 0.9612 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.514e-05/0.5615, allocations: 43 kB / 0.9612 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.5617, allocations: 332.6 kB / 0.9615 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005483/0.5622, allocations: 147.2 kB / 0.9617 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005294/0.5628, allocations: 149.7 kB / 0.9618 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.5638, allocations: 294.5 kB / 0.9621 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5638, allocations: 0 / 0.9621 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001194/0.565, allocations: 372.2 kB / 0.9625 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.5651, allocations: 6.438 kB / 0.9625 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.5651, allocations: 3.984 kB / 0.9625 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.5651, allocations: 1.156 kB / 0.9625 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004701/0.5656, allocations: 71.7 kB / 0.9625 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.5656, allocations: 0 / 0.9625 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.5659, allocations: 58.69 kB / 0.9626 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.566, allocations: 3.531 kB / 0.9626 GB, free: 15.08 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.0001233/0.5661, allocations: 135.5 kB / 0.9627 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/0.5662, allocations: 21.44 kB / 0.9628 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.5674, allocations: 377 kB / 0.9631 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.5674, allocations: 6.625 kB / 0.9631 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.5674, allocations: 4 kB / 0.9631 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.5675, allocations: 3.938 kB / 0.9631 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003406/0.5678, allocations: 309.2 kB / 0.9634 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5678, allocations: 1.531 kB / 0.9634 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/0.5682, allocations: 55.8 kB / 0.9635 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.5682, allocations: 1.406 kB / 0.9635 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.5683, allocations: 5.484 kB / 0.9635 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.5683, allocations: 5.188 kB / 0.9635 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5683, allocations: 0 / 0.9635 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.5695, allocations: 446 kB / 0.9639 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.5697, allocations: 119.2 kB / 0.964 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.061e-05/0.5697, allocations: 5.094 kB / 0.964 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/0.5701, allocations: 35.73 kB / 0.9641 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.023e-05/0.5702, allocations: 25.59 kB / 0.9641 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.5702, allocations: 3.281 kB / 0.9641 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001699/0.5704, allocations: 186.8 kB / 0.9643 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5704, allocations: 0 / 0.9643 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003564/0.5707, allocations: 78.3 kB / 0.9643 GB, free: 13.78 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.00155/0.5723, allocations: 1.015 MB / 0.9653 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001185/0.5735, allocations: 323.6 kB / 0.9656 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5735, allocations: 0 / 0.9656 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005624/0.5741, allocations: 166.3 kB / 0.9658 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.5745, allocations: 48.17 kB / 0.9659 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005257/0.5798, allocations: 2.874 MB / 0.9687 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.5801, allocations: 0.7457 MB / 0.9694 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002571/0.5804, allocations: 50.75 kB / 0.9694 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.5805, allocations: 76.48 kB / 0.9695 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.5805, allocations: 0 / 0.9695 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.604, allocations: 5.751 MB / 0.9751 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.248/8.852, allocations: 9.578 kB / 0.9751 GB, free: 6.93 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)