Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.EN12975SolarGain,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_10_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.001519/0.001519, 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.001678/0.001678, allocations: 193.7 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.278/1.278, 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 10.1.1-maint.10.0.x/package.mo): time 2.219/2.219, allocations: 437.1 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 67.89 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4756/0.4768, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002666/0.4795, allocations: 2.009 MB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003719/0.4832, allocations: 3.691 MB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.307e-05/0.4834, allocations: 0 / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.4836, allocations: 59.56 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.4839, allocations: 107.2 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.4842, allocations: 127.7 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002872/0.4845, allocations: 255.1 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.4846, allocations: 48.23 kB / 1.024 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.4849, allocations: 115.5 kB / 1.024 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.485, allocations: 119.4 kB / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.4851, allocations: 16 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.4853, allocations: 115.8 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.238e-05/0.4853, allocations: 47.83 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.649e-05/0.4854, allocations: 107.4 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.4857, allocations: 267.2 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.4857, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4857, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.4857, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.7794 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.000961/0.4867, allocations: 0.5878 MB / 1.025 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.4867, allocations: 8.031 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.733e-05/0.4868, allocations: 38.75 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.4868, allocations: 24.66 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.4872, allocations: 271.5 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.4872, allocations: 8.375 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.4872, allocations: 12.38 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004424/0.4877, allocations: 175 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.4877, allocations: 0 / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.4877, allocations: 4 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.4877, allocations: 0 / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006369/0.4884, allocations: 195.8 kB / 1.026 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007236/0.4891, allocations: 492.4 kB / 1.026 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/0.4895, allocations: 122.5 kB / 1.026 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000327/0.4898, allocations: 108.8 kB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007587/0.4906, allocations: 0.5532 MB / 1.027 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.4906, allocations: 34.56 kB / 1.027 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.123e-06/0.4906, allocations: 0 / 1.027 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.001096/0.4917, allocations: 361.2 kB / 1.027 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.4917, allocations: 59.34 kB / 1.027 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.4919, allocations: 226.7 kB / 1.027 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.492, allocations: 33.7 kB / 1.027 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.492, allocations: 140 kB / 1.028 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.4921, allocations: 35.45 kB / 1.028 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.4921, allocations: 29.7 kB / 1.028 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.944e-05/0.4922, allocations: 334.8 kB / 1.028 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003229/0.4926, allocations: 91.91 kB / 1.028 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003111/0.4929, allocations: 103.8 kB / 1.028 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006189/0.4935, allocations: 200.6 kB / 1.028 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4935, allocations: 0 / 1.028 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007037/0.4942, allocations: 253.2 kB / 1.029 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.4942, allocations: 5.719 kB / 1.029 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.4942, allocations: 3.938 kB / 1.029 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.4943, allocations: 0 / 1.029 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.4945, allocations: 51.88 kB / 1.029 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4946, allocations: 7.938 kB / 1.029 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.4948, allocations: 23.95 kB / 1.029 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.4948, allocations: 11.94 kB / 1.029 GB, free: 6.512 MB / 0.7794 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 9.145e-05/0.4949, allocations: 122.5 kB / 1.029 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.4949, allocations: 27.7 kB / 1.029 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007707/0.4957, allocations: 271.2 kB / 1.029 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.4957, allocations: 7.938 kB / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4957, allocations: 7.938 kB / 1.029 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.4957, allocations: 3.984 kB / 1.029 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.496, allocations: 277.4 kB / 1.029 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.496, allocations: 0 / 1.029 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.4963, allocations: 47.94 kB / 1.029 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4963, allocations: 0 / 1.029 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.4963, allocations: 4 kB / 1.029 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.4963, allocations: 0 / 1.029 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4963, allocations: 15.88 kB / 1.029 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007359/0.4971, allocations: 348 kB / 1.03 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.841e-05/0.4971, allocations: 112.8 kB / 1.03 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.4972, allocations: 3.984 kB / 1.03 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.4974, allocations: 27.97 kB / 1.03 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/0.4975, allocations: 15.92 kB / 1.03 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.4975, allocations: 7.984 kB / 1.03 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001106/0.4976, allocations: 170 kB / 1.03 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4976, allocations: 4 kB / 1.03 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002773/0.4979, allocations: 67.83 kB / 1.03 GB, free: 4.902 MB / 0.7794 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.001015/0.4989, allocations: 0.9035 MB / 1.031 GB, free: 3.973 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006948/0.4996, allocations: 235.7 kB / 1.031 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4997, allocations: 0 / 1.031 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003467/0.5, allocations: 111.8 kB / 1.031 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.5004, allocations: 49.52 kB / 1.031 GB, free: 3.586 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003254/0.5036, allocations: 2.442 MB / 1.034 GB, free: 1.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.5039, allocations: 0.743 MB / 1.035 GB, free: 308 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001537/0.504, allocations: 32.84 kB / 1.035 GB, free: 276 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.5041, allocations: 63.41 kB / 1.035 GB, free: 212 kB / 0.7794 GB Notification: Performance of SimCode: time 5.019e-06/0.5042, allocations: 96 / 1.035 GB, free: 212 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.67/1.174, allocations: 4.929 MB / 1.039 GB, free: 11.43 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.407/8.581, allocations: 4.016 kB / 1.039 GB, free: 11.42 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)