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.001429/0.001429, allocations: 108 kB / 15.61 MB, free: 152 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.001381/0.001381, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.291/1.291, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.557/2.557, allocations: 469.8 MB / 0.7424 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 65.38 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2571, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003186/0.2604, allocations: 2.136 MB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004199/0.2646, allocations: 3.797 MB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.165e-05/0.2647, allocations: 0 / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002283/0.2649, allocations: 67.48 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.2652, allocations: 115.2 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.2655, allocations: 147.6 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003324/0.2659, allocations: 314.9 kB / 1.07 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.266, allocations: 60.69 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.2662, allocations: 143.5 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.2664, allocations: 143.4 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.921e-05/0.2664, allocations: 20 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002359/0.2667, allocations: 135.8 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.373e-05/0.2668, allocations: 55.75 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.2669, allocations: 123.3 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003533/0.2672, allocations: 330.9 kB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.2673, allocations: 0 / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2673, allocations: 7.938 kB / 1.071 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2673, allocations: 0 / 1.071 GB, free: 6.605 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001159/0.2684, allocations: 0.6346 MB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.2685, allocations: 8.031 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.118e-05/0.2685, allocations: 46.73 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009127/0.2695, allocations: 164.4 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006998/0.2702, allocations: 324.3 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.2702, allocations: 12.31 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.2702, allocations: 12 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006443/0.2709, allocations: 225.4 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.2709, allocations: 0 / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.2709, allocations: 4 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.2709, allocations: 4 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009697/0.2719, allocations: 279.7 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.2731, allocations: 0.5784 MB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005427/0.2737, allocations: 174.4 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005091/0.2742, allocations: 156.7 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008599/0.2751, allocations: 0.5454 MB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.2751, allocations: 34.56 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 3.006e-06/0.2751, allocations: 4 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.001653/0.2768, allocations: 494.2 kB / 1.075 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.2768, allocations: 59.34 kB / 1.075 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.2771, allocations: 256.5 kB / 1.075 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.2771, allocations: 37.7 kB / 1.075 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.2772, allocations: 152 kB / 1.076 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.887e-05/0.2773, allocations: 43.31 kB / 1.076 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.141e-05/0.2774, allocations: 37.69 kB / 1.076 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2775, allocations: 342.8 kB / 1.076 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005138/0.278, allocations: 143.9 kB / 1.076 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004996/0.2786, allocations: 145.1 kB / 1.076 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009967/0.2796, allocations: 298.3 kB / 1.076 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2796, allocations: 0 / 1.076 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00111/0.2807, allocations: 365 kB / 1.077 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.2807, allocations: 9.875 kB / 1.077 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.2807, allocations: 0 / 1.077 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.2807, allocations: 3.984 kB / 1.077 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004413/0.2812, allocations: 75.84 kB / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.2812, allocations: 0 / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.2815, allocations: 43.8 kB / 1.077 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.2815, allocations: 7.984 kB / 1.077 GB, free: 0.6289 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 (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.0001305/0.2817, allocations: 133.8 kB / 1.077 GB, free: 500 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/0.2817, allocations: 23.72 kB / 1.077 GB, free: 476 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.2829, allocations: 377.6 kB / 1.077 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.2829, allocations: 0 / 1.077 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2829, allocations: 0 / 1.077 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.283, allocations: 11.94 kB / 1.077 GB, free: 76 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003422/0.2833, allocations: 305.4 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2833, allocations: 3.938 kB / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003885/0.2837, allocations: 59.92 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2837, allocations: 0 / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.2837, allocations: 7.984 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2838, allocations: 0 / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2838, allocations: 0 / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.2849, allocations: 454.9 kB / 1.078 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.285, allocations: 116.7 kB / 1.078 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.2851, allocations: 8 kB / 1.078 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003346/0.2854, allocations: 43.94 kB / 1.078 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.2855, allocations: 15.92 kB / 1.078 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.2855, allocations: 7.984 kB / 1.078 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001591/0.2857, allocations: 187.1 kB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2857, allocations: 0 / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003141/0.286, allocations: 67.94 kB / 1.079 GB, free: 14.74 MB / 0.8419 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.001513/0.2875, allocations: 1.023 MB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001102/0.2886, allocations: 327.6 kB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2886, allocations: 0 / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000529/0.2892, allocations: 161 kB / 1.08 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.2896, allocations: 32.58 kB / 1.08 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004902/0.2945, allocations: 2.882 MB / 1.083 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.2948, allocations: 0.7473 MB / 1.084 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000233/0.2951, allocations: 57.36 kB / 1.084 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.2952, allocations: 79.39 kB / 1.084 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.2952, allocations: 0 / 1.084 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.666/2.961, allocations: 5.748 MB / 1.09 GB, free: 3.723 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.329/12.29, allocations: 12.44 kB / 1.09 GB, free: 3.715 MB / 0.8419 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)