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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001555/0.001559, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001776/0.001776, allocations: 193.2 kB / 16.25 MB, free: 6.637 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.281/1.281, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.364/2.364, allocations: 437 MB / 0.7101 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001695, allocations: 63.91 kB / 0.8689 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5155/0.5172, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003376/0.5206, allocations: 2.205 MB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004382/0.525, allocations: 3.746 MB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.5252, allocations: 4 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.5255, allocations: 39.75 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003536/0.5258, allocations: 127.2 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.5262, allocations: 127.7 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.5265, allocations: 314.8 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.5266, allocations: 60.69 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.5268, allocations: 135.5 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.527, allocations: 143.4 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.5271, allocations: 24 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002221/0.5273, allocations: 135.8 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.606e-05/0.5274, allocations: 63.69 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.5275, allocations: 119.3 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003448/0.5278, allocations: 330.9 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.5278, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5278, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.5279, allocations: 0 / 1.024 GB, free: 11.16 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.001185/0.529, allocations: 0.6308 MB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.5291, allocations: 8.031 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.477e-05/0.5291, allocations: 42.73 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009043/0.5301, allocations: 172.4 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006893/0.5308, allocations: 320.2 kB / 1.025 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.5308, allocations: 16.31 kB / 1.025 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.5308, allocations: 12 kB / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006392/0.5315, allocations: 221.4 kB / 1.026 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.5315, allocations: 0 / 1.026 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.5315, allocations: 8 kB / 1.026 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.5315, allocations: 4 kB / 1.026 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009378/0.5325, allocations: 283.6 kB / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.5337, allocations: 0.5746 MB / 1.026 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005223/0.5342, allocations: 174.4 kB / 1.027 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004996/0.5347, allocations: 160.7 kB / 1.027 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008069/0.5355, allocations: 0.5493 MB / 1.027 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.5356, allocations: 38.56 kB / 1.027 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.5356, allocations: 3.938 kB / 1.027 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.001613/0.5372, allocations: 485.2 kB / 1.028 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.5372, allocations: 55.41 kB / 1.028 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.5375, allocations: 268.5 kB / 1.028 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.5375, allocations: 25.7 kB / 1.028 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.072e-05/0.5376, allocations: 155.9 kB / 1.028 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.289e-05/0.5376, allocations: 35.45 kB / 1.028 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.801e-05/0.5377, allocations: 41.69 kB / 1.028 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.5379, allocations: 338.8 kB / 1.029 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004942/0.5384, allocations: 143.9 kB / 1.029 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004879/0.5389, allocations: 151.8 kB / 1.029 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009527/0.5398, allocations: 287 kB / 1.029 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.5398, allocations: 3.984 kB / 1.029 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001116/0.541, allocations: 382.5 kB / 1.03 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.541, allocations: 4 kB / 1.03 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.541, allocations: 3.938 kB / 1.03 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.541, allocations: 0 / 1.03 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004493/0.5415, allocations: 63.92 kB / 1.03 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.5415, allocations: 0 / 1.03 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.5418, allocations: 59.72 kB / 1.03 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.5418, allocations: 4 kB / 1.03 GB, free: 5.176 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.0001259/0.542, allocations: 134.3 kB / 1.03 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-05/0.542, allocations: 23.72 kB / 1.03 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/0.5432, allocations: 371.3 kB / 1.03 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.5432, allocations: 4 kB / 1.03 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5432, allocations: 0 / 1.03 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.5432, allocations: 7.922 kB / 1.03 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/0.5436, allocations: 305.3 kB / 1.031 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.5436, allocations: 0 / 1.031 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.544, allocations: 63.86 kB / 1.031 GB, free: 4.223 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.544, allocations: 0 / 1.031 GB, free: 4.223 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.544, allocations: 7.984 kB / 1.031 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.544, allocations: 3.938 kB / 1.031 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.544, allocations: 0 / 1.031 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.5452, allocations: 450.9 kB / 1.031 GB, free: 3.754 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.98e-05/0.5453, allocations: 116.8 kB / 1.031 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/0.5453, allocations: 8 kB / 1.031 GB, free: 3.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.5457, allocations: 31.95 kB / 1.031 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.437e-05/0.5458, allocations: 23.91 kB / 1.031 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.5458, allocations: 7.984 kB / 1.031 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001463/0.5459, allocations: 191.1 kB / 1.031 GB, free: 3.363 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5459, allocations: 0 / 1.031 GB, free: 3.363 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003311/0.5463, allocations: 67.91 kB / 1.032 GB, free: 3.297 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.001439/0.5477, allocations: 1.012 MB / 1.033 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001078/0.5488, allocations: 331.7 kB / 1.033 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5488, allocations: 0 / 1.033 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005203/0.5493, allocations: 171.8 kB / 1.033 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.5498, allocations: 42.33 kB / 1.033 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004724/0.5545, allocations: 2.947 MB / 1.036 GB, free: 14.7 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.5548, allocations: 0.7552 MB / 1.037 GB, free: 13.92 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002578/0.5551, allocations: 45.38 kB / 1.037 GB, free: 13.88 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.5552, allocations: 71.41 kB / 1.037 GB, free: 13.81 MB / 0.795 GB Notification: Performance of SimCode: time 1.593e-06/0.5552, allocations: 0 / 1.037 GB, free: 13.81 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.147/2.702, allocations: 5.435 MB / 1.042 GB, free: 8.562 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/2.702, allocations: 229.5 kB / 1.042 GB, free: 8.305 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.882/8.585, allocations: 2.375 kB / 1.042 GB, free: 8.305 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)