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.001431/0.001431, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.245/1.245, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.465/2.465, allocations: 469.8 MB / 0.7424 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 68.45 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2269, allocations: 159.1 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002847/0.2297, allocations: 2.025 MB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003778/0.2335, allocations: 3.688 MB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.167e-05/0.2336, allocations: 4 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.2338, allocations: 59.55 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.2341, allocations: 103.3 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.2343, allocations: 127.7 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002629/0.2346, allocations: 255.1 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.2347, allocations: 52.36 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.2349, allocations: 111.6 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.235, allocations: 111.5 kB / 1.07 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.2351, allocations: 16 kB / 1.07 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.2353, allocations: 119.8 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.562e-05/0.2353, allocations: 51.75 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.643e-05/0.2354, allocations: 99.41 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.2357, allocations: 271.1 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2357, allocations: 0 / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2357, allocations: 4 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.2358, allocations: 0 / 1.071 GB, free: 7.078 MB / 0.8262 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.0009848/0.2367, allocations: 0.5801 MB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.2368, allocations: 16.03 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.159e-05/0.2368, allocations: 38.73 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.2369, allocations: 24.66 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003698/0.2373, allocations: 267.5 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.2373, allocations: 12.36 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.2373, allocations: 8.375 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004371/0.2377, allocations: 173.4 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.2378, allocations: 0 / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.2378, allocations: 4 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.2378, allocations: 0 / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006281/0.2384, allocations: 199.8 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007508/0.2392, allocations: 492.3 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/0.2396, allocations: 130.4 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003308/0.2399, allocations: 108.8 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007905/0.2407, allocations: 0.5454 MB / 1.073 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.2407, allocations: 34.78 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 2.675e-06/0.2407, allocations: 0 / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.001092/0.2418, allocations: 353.1 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.2419, allocations: 59.34 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.2421, allocations: 230.7 kB / 1.074 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.2421, allocations: 25.7 kB / 1.074 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.569e-05/0.2422, allocations: 151.9 kB / 1.074 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.2422, allocations: 39.48 kB / 1.074 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.2423, allocations: 25.7 kB / 1.074 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2424, allocations: 334.8 kB / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/0.2428, allocations: 95.91 kB / 1.075 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003113/0.2431, allocations: 99.84 kB / 1.075 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00062/0.2437, allocations: 192.7 kB / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2437, allocations: 0 / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007143/0.2444, allocations: 257.9 kB / 1.075 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.2445, allocations: 4 kB / 1.075 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2445, allocations: 0 / 1.075 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.2445, allocations: 7.938 kB / 1.075 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.2448, allocations: 51.88 kB / 1.075 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.2448, allocations: 3.938 kB / 1.075 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.245, allocations: 35.81 kB / 1.075 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.245, allocations: 0 / 1.075 GB, free: 2.203 MB / 0.8262 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.0001117/0.2451, allocations: 125.8 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.499e-05/0.2452, allocations: 19.81 kB / 1.076 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007895/0.246, allocations: 295 kB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.246, allocations: 0 / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.246, allocations: 7.938 kB / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.246, allocations: 0 / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.2463, allocations: 269.5 kB / 1.076 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2463, allocations: 4 kB / 1.076 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.2466, allocations: 51.88 kB / 1.076 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2466, allocations: 0 / 1.076 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.2466, allocations: 7.984 kB / 1.076 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2466, allocations: 0 / 1.076 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2466, allocations: 3.938 kB / 1.076 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007548/0.2474, allocations: 355 kB / 1.076 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.412e-05/0.2475, allocations: 116.7 kB / 1.077 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.2475, allocations: 4 kB / 1.077 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.2477, allocations: 23.97 kB / 1.077 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.172e-05/0.2478, allocations: 23.91 kB / 1.077 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.2478, allocations: 4 kB / 1.077 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000126/0.2479, allocations: 166 kB / 1.077 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.248, allocations: 0 / 1.077 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002726/0.2482, allocations: 55.98 kB / 1.077 GB, free: 0.6133 MB / 0.8262 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.001114/0.2494, allocations: 0.9229 MB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007022/0.2501, allocations: 223.7 kB / 1.078 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2501, allocations: 4 kB / 1.078 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003473/0.2504, allocations: 123.8 kB / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.2508, allocations: 33.08 kB / 1.078 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/0.2542, allocations: 2.457 MB / 1.081 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.2545, allocations: 0.7351 MB / 1.081 GB, free: 12 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001509/0.2547, allocations: 40.84 kB / 1.081 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.2548, allocations: 67.41 kB / 1.081 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.2548, allocations: 0 / 1.081 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.74/2.995, allocations: 4.915 MB / 1.086 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.44/18.44, allocations: 4.812 kB / 1.086 GB, free: 7.109 MB / 0.8419 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)