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.001039/0.001039, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.007422/0.007422, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.355/1.355, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.569/2.569, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004817/0.0004817, allocations: 12 kB / 0.8729 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5613/0.5618, allocations: 153.8 MB / 1.023 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00217/0.564, allocations: 1.835 MB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004304/0.5683, allocations: 3.723 MB / 1.029 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.5685, allocations: 0 / 1.029 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.5687, allocations: 47.69 kB / 1.029 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003536/0.5691, allocations: 111.2 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.5695, allocations: 131.7 kB / 1.029 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000352/0.5698, allocations: 298.8 kB / 1.029 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.57, allocations: 56.7 kB / 1.029 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.5702, allocations: 111.5 kB / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.5704, allocations: 139.3 kB / 1.029 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.5704, allocations: 8 kB / 1.029 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002471/0.5707, allocations: 131.8 kB / 1.03 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.918e-05/0.5708, allocations: 43.77 kB / 1.03 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.5709, allocations: 141 kB / 1.03 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003379/0.5712, allocations: 310.9 kB / 1.03 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.5713, allocations: 0 / 1.03 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5713, allocations: 0 / 1.03 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.5713, allocations: 0 / 1.03 GB, free: 8.891 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.001174/0.5725, allocations: 0.6194 MB / 1.031 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.5725, allocations: 12.03 kB / 1.031 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.102e-05/0.5726, allocations: 42.73 kB / 1.031 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009845/0.5735, allocations: 160.3 kB / 1.031 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007189/0.5743, allocations: 336.3 kB / 1.031 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.5743, allocations: 12.31 kB / 1.031 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.5743, allocations: 12 kB / 1.031 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007284/0.5751, allocations: 256.8 kB / 1.031 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.5751, allocations: 3.938 kB / 1.031 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.5751, allocations: 0 / 1.031 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.5751, allocations: 4 kB / 1.031 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.5763, allocations: 339.7 kB / 1.032 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.5777, allocations: 0.5979 MB / 1.032 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00082/0.5785, allocations: 202.4 kB / 1.033 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009207/0.5795, allocations: 180.7 kB / 1.033 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/0.5807, allocations: 0.5728 MB / 1.033 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.5808, allocations: 38.56 kB / 1.033 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.853e-06/0.5808, allocations: 0 / 1.033 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.001929/0.5827, allocations: 0.5637 MB / 1.034 GB, free: 4.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.5828, allocations: 51.41 kB / 1.034 GB, free: 4.617 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.583, allocations: 280.4 kB / 1.034 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.5831, allocations: 29.7 kB / 1.034 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.604e-05/0.5832, allocations: 152 kB / 1.034 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.794e-05/0.5832, allocations: 47.34 kB / 1.034 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/0.5833, allocations: 25.7 kB / 1.034 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.5834, allocations: 334.8 kB / 1.035 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007342/0.5841, allocations: 179.9 kB / 1.035 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005911/0.5847, allocations: 171.9 kB / 1.035 GB, free: 3.391 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.586, allocations: 350 kB / 1.035 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.586, allocations: 0 / 1.035 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001387/0.5874, allocations: 429.9 kB / 1.036 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.5874, allocations: 8 kB / 1.036 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.5874, allocations: 4 kB / 1.036 GB, free: 2.609 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.5875, allocations: 0 / 1.036 GB, free: 2.609 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004905/0.5879, allocations: 79.91 kB / 1.036 GB, free: 2.531 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.588, allocations: 7.938 kB / 1.036 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004411/0.5884, allocations: 63.73 kB / 1.036 GB, free: 2.461 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.574e-05/0.5885, allocations: 11.98 kB / 1.036 GB, free: 2.449 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.0001431/0.5886, allocations: 130.3 kB / 1.036 GB, free: 2.312 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.538e-05/0.5887, allocations: 23.72 kB / 1.036 GB, free: 2.289 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.5901, allocations: 440.6 kB / 1.037 GB, free: 1.855 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.5901, allocations: 4 kB / 1.037 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5901, allocations: 0 / 1.037 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.5901, allocations: 3.938 kB / 1.037 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003222/0.5904, allocations: 301.4 kB / 1.037 GB, free: 1.504 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5905, allocations: 0 / 1.037 GB, free: 1.504 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005433/0.591, allocations: 79.84 kB / 1.037 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.591, allocations: 4 kB / 1.037 GB, free: 1.422 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.591, allocations: 8 kB / 1.037 GB, free: 1.414 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5911, allocations: 0 / 1.037 GB, free: 1.414 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5911, allocations: 0 / 1.037 GB, free: 1.414 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.5924, allocations: 0.5027 MB / 1.037 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.5925, allocations: 124.6 kB / 1.038 GB, free: 0.7578 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/0.5926, allocations: 8 kB / 1.038 GB, free: 0.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004168/0.593, allocations: 51.94 kB / 1.038 GB, free: 0.6992 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.5931, allocations: 19.91 kB / 1.038 GB, free: 0.6797 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.5932, allocations: 7.938 kB / 1.038 GB, free: 0.6719 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000171/0.5933, allocations: 187.1 kB / 1.038 GB, free: 500 kB / 0.7794 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5933, allocations: 4 kB / 1.038 GB, free: 496 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003518/0.5937, allocations: 71.98 kB / 1.038 GB, free: 424 kB / 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.001774/0.5955, allocations: 1.063 MB / 1.039 GB, free: 15.32 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0013/0.5968, allocations: 385 kB / 1.039 GB, free: 14.95 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5968, allocations: 0 / 1.039 GB, free: 14.95 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000624/0.5974, allocations: 195.8 kB / 1.039 GB, free: 14.75 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.5979, allocations: 32.56 kB / 1.04 GB, free: 14.72 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0054/0.6033, allocations: 3.14 MB / 1.043 GB, free: 11.5 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.6036, allocations: 0.7476 MB / 1.043 GB, free: 10.73 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002561/0.6038, allocations: 53.36 kB / 1.043 GB, free: 10.68 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.604, allocations: 75.39 kB / 1.043 GB, free: 10.61 MB / 0.795 GB Notification: Performance of SimCode: time 3.61e-07/0.604, allocations: 0 / 1.043 GB, free: 10.61 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.6258, allocations: 5.204 MB / 1.049 GB, free: 5.602 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/0.626, allocations: 221.7 kB / 1.049 GB, free: 5.348 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/2.426, allocations: 0 / 1.049 GB, free: 5.348 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)