Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.EN12975SolarGain,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.007257/0.007257, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.002713/0.002713, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.239/1.239, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.396/2.396, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 64.11 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2455, allocations: 159.1 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002666/0.2482, allocations: 2.029 MB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003666/0.2519, allocations: 3.684 MB / 1.226 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.795e-05/0.252, allocations: 0 / 1.226 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.2522, allocations: 63.48 kB / 1.226 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.2524, allocations: 107.3 kB / 1.226 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.2527, allocations: 123.7 kB / 1.226 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002717/0.253, allocations: 255 kB / 1.226 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.2531, allocations: 60.34 kB / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.2533, allocations: 111.6 kB / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.2534, allocations: 119.4 kB / 1.227 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.2534, allocations: 16 kB / 1.227 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.2536, allocations: 115.8 kB / 1.227 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.614e-05/0.2537, allocations: 47.77 kB / 1.227 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.793e-05/0.2538, allocations: 91.47 kB / 1.227 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.2541, allocations: 286.8 kB / 1.227 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.2541, allocations: 0 / 1.227 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.41e-07/0.2541, allocations: 0 / 1.227 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.2541, allocations: 4 kB / 1.227 GB, free: 7.234 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00096/0.2551, allocations: 0.5838 MB / 1.228 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.2551, allocations: 16.03 kB / 1.228 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.2552, allocations: 46.67 kB / 1.228 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/0.2552, allocations: 20.8 kB / 1.228 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/0.2556, allocations: 267.8 kB / 1.228 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.2556, allocations: 8.375 kB / 1.228 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.2556, allocations: 8.375 kB / 1.228 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004341/0.2561, allocations: 173.4 kB / 1.228 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.2561, allocations: 0 / 1.228 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.2561, allocations: 4 kB / 1.228 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2561, allocations: 4 kB / 1.228 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006223/0.2568, allocations: 191.8 kB / 1.228 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000737/0.2575, allocations: 496.3 kB / 1.229 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/0.2579, allocations: 122.5 kB / 1.229 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003255/0.2582, allocations: 112.8 kB / 1.229 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007722/0.259, allocations: 0.5454 MB / 1.23 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.259, allocations: 34.56 kB / 1.23 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.259, allocations: 7.938 kB / 1.23 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.001076/0.2601, allocations: 353.5 kB / 1.23 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.2601, allocations: 59.34 kB / 1.23 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.2603, allocations: 234.7 kB / 1.23 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.2604, allocations: 25.7 kB / 1.23 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.907e-05/0.2604, allocations: 136 kB / 1.23 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.134e-05/0.2605, allocations: 47.67 kB / 1.23 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-05/0.2606, allocations: 33.69 kB / 1.23 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.2607, allocations: 326.8 kB / 1.231 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003158/0.261, allocations: 95.91 kB / 1.231 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003102/0.2613, allocations: 99.91 kB / 1.231 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006149/0.2619, allocations: 192.7 kB / 1.231 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.262, allocations: 4 kB / 1.231 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006997/0.2627, allocations: 261.9 kB / 1.231 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.2627, allocations: 4 kB / 1.231 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2627, allocations: 11.98 kB / 1.231 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.747e-06/0.2627, allocations: 0 / 1.231 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.263, allocations: 51.94 kB / 1.231 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.263, allocations: 3.938 kB / 1.231 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.2632, allocations: 27.92 kB / 1.232 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.2632, allocations: 3.984 kB / 1.232 GB, free: 2.352 MB / 0.9825 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 (11): * Single equations (assignments): 11 * 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.2633, allocations: 125.8 kB / 1.232 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.252e-05/0.2633, allocations: 27.8 kB / 1.232 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007876/0.2641, allocations: 287.1 kB / 1.232 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2641, allocations: 0 / 1.232 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2642, allocations: 7.938 kB / 1.232 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2642, allocations: 0 / 1.232 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.2644, allocations: 273.5 kB / 1.232 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2644, allocations: 0 / 1.232 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.2647, allocations: 39.95 kB / 1.232 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2647, allocations: 4 kB / 1.232 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.2647, allocations: 7.984 kB / 1.232 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.2647, allocations: 3.938 kB / 1.232 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2647, allocations: 3.938 kB / 1.232 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007392/0.2655, allocations: 355.2 kB / 1.233 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.063e-05/0.2656, allocations: 112.9 kB / 1.233 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.2656, allocations: 4 kB / 1.233 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.2658, allocations: 23.95 kB / 1.233 GB, free: 1 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.2659, allocations: 19.92 kB / 1.233 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.2659, allocations: 8 kB / 1.233 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001265/0.266, allocations: 170 kB / 1.233 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2661, allocations: 0 / 1.233 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000256/0.2663, allocations: 63.77 kB / 1.233 GB, free: 0.75 MB / 0.9825 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 (11): * Single equations (assignments): 11 * 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.001089/0.2674, allocations: 0.9273 MB / 1.234 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006974/0.2681, allocations: 215.8 kB / 1.234 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.2681, allocations: 0 / 1.234 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003449/0.2685, allocations: 119.9 kB / 1.234 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.2688, allocations: 39.48 kB / 1.234 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003393/0.2722, allocations: 2.463 MB / 1.237 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.2725, allocations: 0.739 MB / 1.237 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001293/0.2726, allocations: 32.84 kB / 1.237 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.2728, allocations: 67.41 kB / 1.237 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of SimCode: time 2e-07/0.2728, allocations: 0 / 1.237 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.217/6.49, allocations: 4.998 MB / 1.242 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.488/15.98, allocations: 0 / 1.242 GB, free: 7.188 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)