Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.ASHRAESolarGain,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_11_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.00141/0.00141, allocations: 108.6 kB / 15.73 MB, free: 72 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.001345/0.001345, allocations: 187.1 kB / 16.66 MB, free: 6.602 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.249/1.249, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.482/2.482, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 68.11 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2521, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002945/0.2551, allocations: 2.142 MB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004197/0.2593, allocations: 3.793 MB / 1.226 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.84e-05/0.2594, allocations: 0 / 1.226 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.2596, allocations: 67.44 kB / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003181/0.26, allocations: 123.2 kB / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.2603, allocations: 147.6 kB / 1.226 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003666/0.2607, allocations: 314.8 kB / 1.227 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.2608, allocations: 56.7 kB / 1.227 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002063/0.261, allocations: 139.5 kB / 1.227 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.2612, allocations: 143.4 kB / 1.227 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4e-05/0.2612, allocations: 20 kB / 1.227 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002351/0.2615, allocations: 135.8 kB / 1.227 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.294e-05/0.2616, allocations: 63.73 kB / 1.227 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.2617, allocations: 115.3 kB / 1.227 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003827/0.2621, allocations: 350.5 kB / 1.228 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2621, allocations: 0 / 1.228 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2621, allocations: 4 kB / 1.228 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.2621, allocations: 0 / 1.228 GB, free: 6.711 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001117/0.2632, allocations: 0.6383 MB / 1.228 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.2633, allocations: 8.031 kB / 1.228 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.687e-05/0.2633, allocations: 42.73 kB / 1.228 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008846/0.2642, allocations: 176.5 kB / 1.228 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00065/0.2649, allocations: 332.4 kB / 1.229 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.2649, allocations: 12.31 kB / 1.229 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.2649, allocations: 12 kB / 1.229 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000626/0.2656, allocations: 222.4 kB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.2656, allocations: 0 / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.2656, allocations: 4 kB / 1.229 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2656, allocations: 4 kB / 1.229 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009525/0.2666, allocations: 283.7 kB / 1.229 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.2677, allocations: 0.5707 MB / 1.23 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005245/0.2682, allocations: 166.5 kB / 1.23 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004859/0.2687, allocations: 160.7 kB / 1.23 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000788/0.2695, allocations: 0.5493 MB / 1.231 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.2696, allocations: 38.56 kB / 1.231 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.2696, allocations: 0 / 1.231 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.001586/0.2712, allocations: 493.1 kB / 1.231 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.2712, allocations: 51.41 kB / 1.231 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.2714, allocations: 272.5 kB / 1.231 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.2715, allocations: 25.7 kB / 1.231 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.645e-05/0.2716, allocations: 148.1 kB / 1.232 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/0.2716, allocations: 47.58 kB / 1.232 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.718e-05/0.2717, allocations: 45.69 kB / 1.232 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.2719, allocations: 330.8 kB / 1.232 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004988/0.2724, allocations: 147.8 kB / 1.232 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004905/0.2729, allocations: 145.9 kB / 1.232 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000963/0.2738, allocations: 292.5 kB / 1.233 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2738, allocations: 0 / 1.233 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00109/0.2749, allocations: 383 kB / 1.233 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.275, allocations: 4 kB / 1.233 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.275, allocations: 0 / 1.233 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.275, allocations: 4 kB / 1.233 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/0.2754, allocations: 67.84 kB / 1.233 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.2754, allocations: 7.984 kB / 1.233 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/0.2757, allocations: 51.78 kB / 1.233 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.2757, allocations: 7.984 kB / 1.233 GB, free: 0.7109 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 (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.0001134/0.2759, allocations: 125.8 kB / 1.233 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.2759, allocations: 23.86 kB / 1.233 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.2771, allocations: 383.2 kB / 1.234 GB, free: 176 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2771, allocations: 0 / 1.234 GB, free: 176 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.2771, allocations: 0 / 1.234 GB, free: 176 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2771, allocations: 3.938 kB / 1.234 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.2774, allocations: 301.4 kB / 1.234 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2774, allocations: 0 / 1.234 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003971/0.2778, allocations: 67.91 kB / 1.234 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2778, allocations: 0 / 1.234 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.2779, allocations: 0 / 1.234 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2779, allocations: 0 / 1.234 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2779, allocations: 4 kB / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.279, allocations: 459 kB / 1.234 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.2791, allocations: 120.9 kB / 1.235 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.2791, allocations: 4 kB / 1.235 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/0.2795, allocations: 35.94 kB / 1.235 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/0.2795, allocations: 23.91 kB / 1.235 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.2796, allocations: 11.98 kB / 1.235 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001526/0.2797, allocations: 187.1 kB / 1.235 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.2797, allocations: 0 / 1.235 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003001/0.28, allocations: 79.81 kB / 1.235 GB, free: 14.82 MB / 0.9981 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.001472/0.2815, allocations: 1.001 MB / 1.236 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001065/0.2826, allocations: 327.6 kB / 1.236 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.2826, allocations: 0 / 1.236 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005199/0.2831, allocations: 163.9 kB / 1.236 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.2835, allocations: 38.2 kB / 1.236 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004768/0.2882, allocations: 2.896 MB / 1.239 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.2886, allocations: 0.7474 MB / 1.24 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001957/0.2888, allocations: 45.39 kB / 1.24 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.2889, allocations: 79.39 kB / 1.24 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.2889, allocations: 0 / 1.24 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.665/1.954, allocations: 5.821 MB / 1.246 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/15.04, allocations: 7.5 kB / 1.246 GB, free: 3.75 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)