Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_10_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.001353/0.001353, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0017/0.0017, allocations: 194.3 kB / 16.14 MB, free: 6.648 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.325/1.325, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.272/2.272, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 71.91 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4573/0.4587, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002662/0.4614, allocations: 2.201 MB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003475/0.4649, allocations: 3.766 MB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.387e-05/0.465, allocations: 4 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002009/0.4652, allocations: 43.75 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002976/0.4655, allocations: 119.2 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.4658, allocations: 127.7 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000276/0.4661, allocations: 290.8 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.4662, allocations: 56.7 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.4664, allocations: 127.5 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.4666, allocations: 147.3 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.891e-05/0.4666, allocations: 12 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002171/0.4668, allocations: 119.8 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.889e-05/0.4669, allocations: 51.73 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.826e-05/0.467, allocations: 115.3 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.4673, allocations: 318.9 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.4673, allocations: 0 / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.11e-07/0.4673, allocations: 0 / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.4673, allocations: 0 / 1.024 GB, free: 11.26 MB / 0.7794 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.00111/0.4685, allocations: 0.6347 MB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.4685, allocations: 11.97 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.536e-05/0.4685, allocations: 38.75 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008362/0.4694, allocations: 176.4 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006248/0.47, allocations: 328.2 kB / 1.025 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.47, allocations: 8.312 kB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.4701, allocations: 12 kB / 1.025 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006036/0.4707, allocations: 222.4 kB / 1.025 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.4707, allocations: 0 / 1.025 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.4707, allocations: 4 kB / 1.025 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.4707, allocations: 4 kB / 1.025 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008703/0.4716, allocations: 283.7 kB / 1.026 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.4727, allocations: 0.5745 MB / 1.026 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000485/0.4732, allocations: 174.4 kB / 1.026 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004485/0.4737, allocations: 156.7 kB / 1.027 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007333/0.4744, allocations: 0.5493 MB / 1.027 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.4745, allocations: 34.81 kB / 1.027 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.4745, allocations: 0 / 1.027 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.001469/0.4759, allocations: 486.1 kB / 1.028 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.476, allocations: 59.34 kB / 1.028 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.4762, allocations: 268.5 kB / 1.028 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.4762, allocations: 29.64 kB / 1.028 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.769e-05/0.4763, allocations: 155.9 kB / 1.028 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.4763, allocations: 35.45 kB / 1.028 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.488e-05/0.4764, allocations: 45.69 kB / 1.028 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.282e-05/0.4765, allocations: 338.8 kB / 1.028 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004735/0.477, allocations: 147.8 kB / 1.029 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004501/0.4775, allocations: 151.9 kB / 1.029 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008829/0.4784, allocations: 282.5 kB / 1.029 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4784, allocations: 4 kB / 1.029 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001022/0.4794, allocations: 369 kB / 1.029 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.4794, allocations: 4 kB / 1.029 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.4794, allocations: 3.984 kB / 1.029 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.4794, allocations: 0 / 1.029 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004076/0.4799, allocations: 67.86 kB / 1.029 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.4799, allocations: 4 kB / 1.029 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.4802, allocations: 51.73 kB / 1.03 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.4802, allocations: 11.97 kB / 1.03 GB, free: 5.273 MB / 0.7794 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.0001019/0.4803, allocations: 126.4 kB / 1.03 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.429e-05/0.4804, allocations: 27.7 kB / 1.03 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.4814, allocations: 383.1 kB / 1.03 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.4814, allocations: 4 kB / 1.03 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.4814, allocations: 0 / 1.03 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4814, allocations: 7.875 kB / 1.03 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.4817, allocations: 309.3 kB / 1.03 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4817, allocations: 0 / 1.03 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003589/0.4821, allocations: 59.92 kB / 1.03 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-06/0.4821, allocations: 0 / 1.03 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.4821, allocations: 8 kB / 1.03 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.4821, allocations: 7.922 kB / 1.03 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.4821, allocations: 0 / 1.03 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009891/0.4831, allocations: 450.9 kB / 1.031 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.051e-05/0.4832, allocations: 116.7 kB / 1.031 GB, free: 3.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.4833, allocations: 11.98 kB / 1.031 GB, free: 3.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003117/0.4836, allocations: 31.95 kB / 1.031 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.4837, allocations: 19.91 kB / 1.031 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.4837, allocations: 4 kB / 1.031 GB, free: 3.645 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001315/0.4838, allocations: 191.1 kB / 1.031 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4838, allocations: 0 / 1.031 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002909/0.4841, allocations: 67.98 kB / 1.031 GB, free: 3.391 MB / 0.7794 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.001272/0.4854, allocations: 1.013 MB / 1.032 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009486/0.4864, allocations: 320.9 kB / 1.033 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.4864, allocations: 0 / 1.033 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004736/0.4868, allocations: 167.8 kB / 1.033 GB, free: 1.871 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.4872, allocations: 35.56 kB / 1.033 GB, free: 1.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004279/0.4915, allocations: 2.953 MB / 1.036 GB, free: 14.82 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.4917, allocations: 0.7438 MB / 1.036 GB, free: 14.05 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002262/0.492, allocations: 45.39 kB / 1.036 GB, free: 14 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.4921, allocations: 79.39 kB / 1.036 GB, free: 13.93 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.4921, allocations: 0 / 1.036 GB, free: 13.93 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.699/3.192, allocations: 5.308 MB / 1.042 GB, free: 8.785 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/3.192, allocations: 227.9 kB / 1.042 GB, free: 8.523 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.218/5.41, allocations: 0 / 1.042 GB, free: 8.523 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)