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.001206/0.001206, 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.001145/0.001145, allocations: 188.6 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.196/1.196, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.246/2.246, allocations: 390.2 MB / 0.6644 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 59.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5185/0.5199, allocations: 140.4 MB / 0.9492 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00255/0.5224, allocations: 2.197 MB / 0.9514 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003045/0.5255, allocations: 3.745 MB / 0.955 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.8e-05/0.5256, allocations: 1.062 kB / 0.955 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.5258, allocations: 49.36 kB / 0.9551 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002921/0.5261, allocations: 111.2 kB / 0.9552 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.5264, allocations: 137 kB / 0.9553 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.5267, allocations: 323.8 kB / 0.9556 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.5268, allocations: 54.59 kB / 0.9557 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.527, allocations: 131.2 kB / 0.9558 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.5271, allocations: 149.4 kB / 0.9559 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.571e-05/0.5272, allocations: 24.66 kB / 0.956 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002013/0.5274, allocations: 133.8 kB / 0.9561 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.932e-05/0.5274, allocations: 56.91 kB / 0.9562 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.534e-05/0.5275, allocations: 127 kB / 0.9563 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.5278, allocations: 325.4 kB / 0.9566 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.5278, allocations: 3.938 kB / 0.9566 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5278, allocations: 1.094 kB / 0.9566 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.5278, allocations: 0 / 0.9566 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.001057/0.5289, allocations: 0.6291 MB / 0.9572 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.5289, allocations: 9.531 kB / 0.9572 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.621e-05/0.529, allocations: 46.67 kB / 0.9573 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008957/0.5299, allocations: 168.5 kB / 0.9574 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006344/0.5305, allocations: 319.7 kB / 0.9577 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.5305, allocations: 12.81 kB / 0.9577 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.5306, allocations: 14.53 kB / 0.9577 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006338/0.5312, allocations: 223.2 kB / 0.958 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.5312, allocations: 0 / 0.958 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.5313, allocations: 5.562 kB / 0.958 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.5313, allocations: 1.344 kB / 0.958 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009409/0.5322, allocations: 280.8 kB / 0.9582 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.5333, allocations: 0.5789 MB / 0.9588 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005046/0.5338, allocations: 169.2 kB / 0.959 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004769/0.5343, allocations: 159.2 kB / 0.9591 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006952/0.535, allocations: 0.5473 MB / 0.9596 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.231e-05/0.535, allocations: 36.81 kB / 0.9597 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.5351, allocations: 3.938 kB / 0.9597 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.001597/0.5367, allocations: 487.5 kB / 0.9602 GB, free: 464 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.765e-05/0.5367, allocations: 57.05 kB / 0.9602 GB, free: 396 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.5369, allocations: 263.1 kB / 0.9605 GB, free: 208 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.5369, allocations: 30.77 kB / 0.9605 GB, free: 172 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.537, allocations: 147.8 kB / 0.9606 GB, free: 32 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.846e-05/0.537, allocations: 45.59 kB / 0.9607 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.479e-05/0.5371, allocations: 38.59 kB / 0.9607 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.5373, allocations: 336.3 kB / 0.961 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005192/0.5378, allocations: 147.4 kB / 0.9612 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005042/0.5383, allocations: 148.3 kB / 0.9613 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009854/0.5393, allocations: 303.6 kB / 0.9616 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5393, allocations: 0 / 0.9616 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001135/0.5405, allocations: 363.5 kB / 0.9619 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.5405, allocations: 8.531 kB / 0.962 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.5405, allocations: 0 / 0.962 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.5405, allocations: 1.406 kB / 0.962 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004535/0.541, allocations: 74.05 kB / 0.962 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.541, allocations: 1.188 kB / 0.962 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003335/0.5413, allocations: 53.75 kB / 0.9621 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.5413, allocations: 11.92 kB / 0.9621 GB, free: 15.07 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.00012/0.5415, allocations: 122.6 kB / 0.9622 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/0.5415, allocations: 24.31 kB / 0.9622 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.5427, allocations: 380.6 kB / 0.9626 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.5428, allocations: 5.109 kB / 0.9626 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.5428, allocations: 1.094 kB / 0.9626 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.5428, allocations: 3.938 kB / 0.9626 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/0.5431, allocations: 311.5 kB / 0.9629 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.5431, allocations: 0 / 0.9629 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004056/0.5435, allocations: 63.33 kB / 0.963 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.5435, allocations: 3.844 kB / 0.963 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.5436, allocations: 3.984 kB / 0.963 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.5436, allocations: 0 / 0.963 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5436, allocations: 0 / 0.963 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.5447, allocations: 449.8 kB / 0.9634 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.5448, allocations: 118.8 kB / 0.9635 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.614e-05/0.5449, allocations: 5.062 kB / 0.9635 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003707/0.5453, allocations: 36.02 kB / 0.9636 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.298e-05/0.5454, allocations: 22.62 kB / 0.9636 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.5454, allocations: 7.453 kB / 0.9636 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001583/0.5455, allocations: 186 kB / 0.9638 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5456, allocations: 0 / 0.9638 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003461/0.5459, allocations: 65.41 kB / 0.9638 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.001531/0.5474, allocations: 1.018 MB / 0.9648 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001144/0.5486, allocations: 334.8 kB / 0.9651 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.5486, allocations: 0 / 0.9651 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005549/0.5492, allocations: 162.1 kB / 0.9653 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.0004219/0.5496, allocations: 41.08 kB / 0.9653 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00514/0.5548, allocations: 2.946 MB / 0.9682 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.5551, allocations: 0.7428 MB / 0.9689 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002672/0.5553, allocations: 49.75 kB / 0.969 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.5555, allocations: 80.77 kB / 0.9691 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.5555, allocations: 0 / 0.9691 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1062/0.6617, allocations: 5.424 MB / 0.9744 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000297/0.6621, allocations: 229.8 kB / 0.9746 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.547, allocations: 3.938 kB / 0.9746 GB, free: 6.848 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)