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.004379/0.004379, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001653/0.001653, allocations: 197.6 kB / 16.68 MB, free: 5.977 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.216/1.216, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.295/2.295, allocations: 437.1 MB / 0.7106 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 67.88 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2375, allocations: 151.6 MB / 1.166 GB, free: 7.355 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002951/0.2404, allocations: 2.145 MB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004031/0.2445, allocations: 3.798 MB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.31e-05/0.2446, allocations: 0 / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.2448, allocations: 55.56 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002982/0.2451, allocations: 131.1 kB / 1.172 GB, free: 1.188 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.2454, allocations: 147.6 kB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003352/0.2457, allocations: 310.8 kB / 1.173 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.2459, allocations: 68.53 kB / 1.173 GB, free: 0.668 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.2461, allocations: 131.5 kB / 1.173 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.2462, allocations: 143.4 kB / 1.173 GB, free: 408 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.337e-05/0.2463, allocations: 27.94 kB / 1.173 GB, free: 380 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.2465, allocations: 135.8 kB / 1.173 GB, free: 244 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.235e-05/0.2466, allocations: 59.75 kB / 1.173 GB, free: 184 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.2467, allocations: 123.2 kB / 1.173 GB, free: 60 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003773/0.2471, allocations: 338.6 kB / 1.174 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2471, allocations: 4 kB / 1.174 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2471, allocations: 0 / 1.174 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.2471, allocations: 0 / 1.174 GB, free: 15.72 MB / 0.9356 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.001134/0.2483, allocations: 0.6382 MB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.2483, allocations: 12.03 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.66e-05/0.2483, allocations: 38.73 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008493/0.2492, allocations: 184.5 kB / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006412/0.2499, allocations: 308.6 kB / 1.175 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.2499, allocations: 20.31 kB / 1.175 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.2499, allocations: 11.94 kB / 1.175 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006217/0.2505, allocations: 221.5 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.2506, allocations: 0 / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.2506, allocations: 8 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.2506, allocations: 0 / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009724/0.2516, allocations: 287.7 kB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.2527, allocations: 0.5784 MB / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005357/0.2533, allocations: 178.4 kB / 1.176 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004934/0.2538, allocations: 160.7 kB / 1.176 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007907/0.2546, allocations: 0.5376 MB / 1.177 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.2546, allocations: 42.5 kB / 1.177 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.2546, allocations: 0 / 1.177 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.001602/0.2562, allocations: 485.1 kB / 1.177 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.2563, allocations: 51.41 kB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.2565, allocations: 268.5 kB / 1.177 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.2565, allocations: 29.69 kB / 1.178 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.2567, allocations: 159.9 kB / 1.178 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.2567, allocations: 39.64 kB / 1.178 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.976e-05/0.2568, allocations: 45.61 kB / 1.178 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.2569, allocations: 334.8 kB / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004952/0.2574, allocations: 143.9 kB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004921/0.2579, allocations: 149.4 kB / 1.178 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009646/0.2589, allocations: 295.3 kB / 1.179 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2589, allocations: 0 / 1.179 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001122/0.2601, allocations: 373.1 kB / 1.179 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.2601, allocations: 4 kB / 1.179 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.2601, allocations: 0 / 1.179 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.2601, allocations: 7.938 kB / 1.179 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/0.2605, allocations: 71.84 kB / 1.179 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.2605, allocations: 0 / 1.179 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/0.2608, allocations: 51.78 kB / 1.179 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.2608, allocations: 7.984 kB / 1.179 GB, free: 9.719 MB / 0.9356 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.0001195/0.261, allocations: 129.8 kB / 1.179 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.544e-05/0.261, allocations: 23.86 kB / 1.179 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/0.2622, allocations: 379.2 kB / 1.18 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2622, allocations: 8 kB / 1.18 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.2622, allocations: 0 / 1.18 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2622, allocations: 3.938 kB / 1.18 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.2625, allocations: 305.4 kB / 1.18 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2625, allocations: 0 / 1.18 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/0.2629, allocations: 55.92 kB / 1.18 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.2629, allocations: 4 kB / 1.18 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.2629, allocations: 3.984 kB / 1.18 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2629, allocations: 4 kB / 1.18 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2629, allocations: 0 / 1.18 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.2641, allocations: 459 kB / 1.18 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.2642, allocations: 120.9 kB / 1.181 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.2642, allocations: 8 kB / 1.181 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/0.2645, allocations: 39.94 kB / 1.181 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.2646, allocations: 15.92 kB / 1.181 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.2646, allocations: 7.984 kB / 1.181 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001616/0.2648, allocations: 187.1 kB / 1.181 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.2648, allocations: 0 / 1.181 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002957/0.2651, allocations: 75.83 kB / 1.181 GB, free: 7.824 MB / 0.9356 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.001468/0.2666, allocations: 1.012 MB / 1.182 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.2676, allocations: 315.7 kB / 1.182 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2677, allocations: 0 / 1.182 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005204/0.2682, allocations: 167.8 kB / 1.182 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.2685, allocations: 37.14 kB / 1.182 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004769/0.2733, allocations: 2.89 MB / 1.185 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.2737, allocations: 0.7435 MB / 1.186 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001874/0.2738, allocations: 49.31 kB / 1.186 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.274, allocations: 83.39 kB / 1.186 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.274, allocations: 4 kB / 1.186 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.476/1.75, allocations: 5.822 MB / 1.192 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/13.74, allocations: 8.391 kB / 1.192 GB, free: 12.76 MB / 0.9512 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=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)