Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_latest_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.001299/0.001299, 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.001304/0.001304, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.638/2.638, allocations: 461.9 MB / 0.7347 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001293, allocations: 69.95 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2276, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003076/0.2307, allocations: 2.013 MB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00392/0.2346, allocations: 3.704 MB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.366e-05/0.2348, allocations: 4 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002382/0.235, allocations: 59.55 kB / 1.059 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002831/0.2353, allocations: 103.3 kB / 1.059 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.2357, allocations: 127.6 kB / 1.059 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000282/0.236, allocations: 251.1 kB / 1.059 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.2361, allocations: 48.38 kB / 1.059 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.2363, allocations: 111.5 kB / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.2364, allocations: 111.5 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.2365, allocations: 20 kB / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.2367, allocations: 115.8 kB / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.816e-05/0.2368, allocations: 51.81 kB / 1.059 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.263e-05/0.2369, allocations: 95.41 kB / 1.06 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.2372, allocations: 275.1 kB / 1.06 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2372, allocations: 0 / 1.06 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2372, allocations: 0 / 1.06 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2372, allocations: 0 / 1.06 GB, free: 1.207 MB / 0.8106 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.001065/0.2383, allocations: 0.584 MB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.2383, allocations: 8.625 kB / 1.06 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.475e-05/0.2384, allocations: 42.73 kB / 1.06 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.281e-05/0.2384, allocations: 24.66 kB / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.2388, allocations: 275.6 kB / 1.061 GB, free: 192 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.2388, allocations: 8.25 kB / 1.061 GB, free: 184 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.2389, allocations: 16.36 kB / 1.061 GB, free: 168 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000489/0.2394, allocations: 171 kB / 1.061 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.2394, allocations: 4 kB / 1.061 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.2394, allocations: 4 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2394, allocations: 0 / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007141/0.2401, allocations: 195.8 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008144/0.241, allocations: 0.4886 MB / 1.062 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004009/0.2414, allocations: 118.5 kB / 1.062 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003675/0.2418, allocations: 112.8 kB / 1.062 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000823/0.2426, allocations: 0.5493 MB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.2426, allocations: 34.55 kB / 1.062 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 3.577e-06/0.2426, allocations: 4 kB / 1.062 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.001209/0.2438, allocations: 357.3 kB / 1.063 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.2439, allocations: 55.34 kB / 1.063 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.2441, allocations: 234.7 kB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.2441, allocations: 29.7 kB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.279e-05/0.2442, allocations: 136 kB / 1.063 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.2442, allocations: 35.45 kB / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-05/0.2443, allocations: 37.69 kB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.2444, allocations: 330.8 kB / 1.064 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/0.2448, allocations: 91.91 kB / 1.064 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003406/0.2451, allocations: 103.8 kB / 1.064 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006808/0.2458, allocations: 196.6 kB / 1.064 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2458, allocations: 4 kB / 1.064 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007724/0.2466, allocations: 253.2 kB / 1.064 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.2466, allocations: 4 kB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.2466, allocations: 4 kB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.2466, allocations: 0 / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.247, allocations: 47.94 kB / 1.064 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.247, allocations: 7.875 kB / 1.064 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.2472, allocations: 31.81 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.2472, allocations: 7.984 kB / 1.064 GB, free: 12.32 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.0001024/0.2473, allocations: 131.3 kB / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-05/0.2474, allocations: 19.81 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008704/0.2483, allocations: 275.2 kB / 1.065 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2483, allocations: 0 / 1.065 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2483, allocations: 3.938 kB / 1.065 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2483, allocations: 0 / 1.065 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.2486, allocations: 281.4 kB / 1.065 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2486, allocations: 0 / 1.065 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003033/0.2489, allocations: 43.89 kB / 1.065 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2489, allocations: 7.938 kB / 1.065 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.2489, allocations: 11.92 kB / 1.065 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2489, allocations: 4 kB / 1.065 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2489, allocations: 3.938 kB / 1.065 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008146/0.2498, allocations: 348 kB / 1.065 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.005e-05/0.2499, allocations: 116.7 kB / 1.065 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.2499, allocations: 4 kB / 1.065 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.2502, allocations: 27.97 kB / 1.065 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.177e-05/0.2502, allocations: 27.89 kB / 1.065 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.2503, allocations: 4 kB / 1.065 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001291/0.2504, allocations: 174 kB / 1.066 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2504, allocations: 3.938 kB / 1.066 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003053/0.2507, allocations: 52 kB / 1.066 GB, free: 10.72 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.001143/0.2519, allocations: 0.919 MB / 1.067 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000787/0.2527, allocations: 231.7 kB / 1.067 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2527, allocations: 0 / 1.067 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003798/0.2531, allocations: 119.8 kB / 1.067 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.2534, allocations: 32.48 kB / 1.067 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003605/0.2571, allocations: 2.44 MB / 1.069 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.2573, allocations: 0.743 MB / 1.07 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001677/0.2575, allocations: 32.84 kB / 1.07 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.2576, allocations: 71.39 kB / 1.07 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.2576, allocations: 0 / 1.07 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3986/0.6562, allocations: 4.915 MB / 1.075 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.598/8.255, allocations: 14.41 kB / 1.075 GB, free: 1.23 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)