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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001067/0.001066, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007982/0.007982, allocations: 170.2 kB / 16.26 MB, free: 6.676 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.293/1.293, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.41/2.41, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003013/0.0003014, allocations: 8 kB / 0.873 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5081/0.5085, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.001778/0.5103, allocations: 1.718 MB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003374/0.5137, allocations: 3.618 MB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.862e-05/0.5137, allocations: 7.938 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.5139, allocations: 43.73 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.5142, allocations: 99.34 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.5144, allocations: 107.8 kB / 1.029 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.5147, allocations: 231.1 kB / 1.029 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.5148, allocations: 56.22 kB / 1.029 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.515, allocations: 95.56 kB / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.5151, allocations: 103.5 kB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.5151, allocations: 11.94 kB / 1.029 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.5153, allocations: 111.8 kB / 1.029 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.426e-05/0.5154, allocations: 35.84 kB / 1.029 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.698e-05/0.5155, allocations: 121.1 kB / 1.029 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.5157, allocations: 255.1 kB / 1.03 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.5157, allocations: 0 / 1.03 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5157, allocations: 0 / 1.03 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.5157, allocations: 0 / 1.03 GB, free: 9.211 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.000942/0.5167, allocations: 0.5881 MB / 1.03 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.5167, allocations: 8.031 kB / 1.03 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.577e-05/0.5168, allocations: 38.75 kB / 1.03 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.5168, allocations: 24.66 kB / 1.03 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.5172, allocations: 271.6 kB / 1.03 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.5172, allocations: 384 / 1.03 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.5172, allocations: 16.38 kB / 1.03 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004758/0.5177, allocations: 203 kB / 1.031 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.5177, allocations: 0 / 1.031 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.5177, allocations: 0 / 1.031 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.5177, allocations: 4 kB / 1.031 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006903/0.5184, allocations: 231.8 kB / 1.031 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000732/0.5192, allocations: 0.4886 MB / 1.031 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003908/0.5196, allocations: 142.5 kB / 1.032 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/0.5199, allocations: 136.8 kB / 1.032 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007762/0.5207, allocations: 0.5767 MB / 1.032 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.5208, allocations: 34.5 kB / 1.032 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.5208, allocations: 0 / 1.032 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.001192/0.522, allocations: 413.6 kB / 1.033 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.522, allocations: 63.33 kB / 1.033 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.5222, allocations: 230.7 kB / 1.033 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.5222, allocations: 33.7 kB / 1.033 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.04e-05/0.5223, allocations: 144 kB / 1.033 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.5223, allocations: 35.45 kB / 1.033 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.5224, allocations: 13.72 kB / 1.033 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.275e-05/0.5225, allocations: 334.8 kB / 1.033 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003484/0.5228, allocations: 115.8 kB / 1.034 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/0.5232, allocations: 124 kB / 1.034 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006788/0.5239, allocations: 244.6 kB / 1.034 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5239, allocations: 3.984 kB / 1.034 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007564/0.5246, allocations: 293.3 kB / 1.034 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.5247, allocations: 8 kB / 1.034 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5247, allocations: 3.984 kB / 1.034 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.5247, allocations: 3.984 kB / 1.034 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.525, allocations: 55.94 kB / 1.034 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.525, allocations: 11.88 kB / 1.034 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.5252, allocations: 35.88 kB / 1.034 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.5252, allocations: 11.98 kB / 1.034 GB, free: 3.992 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 0.0001019/0.5253, allocations: 122.4 kB / 1.034 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.5254, allocations: 27.66 kB / 1.034 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008436/0.5262, allocations: 319.2 kB / 1.035 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.5262, allocations: 0 / 1.035 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.5263, allocations: 7.938 kB / 1.035 GB, free: 3.504 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.5263, allocations: 0 / 1.035 GB, free: 3.504 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.5265, allocations: 281.4 kB / 1.035 GB, free: 3.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5265, allocations: 0 / 1.035 GB, free: 3.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.5268, allocations: 59.88 kB / 1.035 GB, free: 3.121 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.5268, allocations: 0 / 1.035 GB, free: 3.121 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.5268, allocations: 8 kB / 1.035 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5268, allocations: 0 / 1.035 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5268, allocations: 3.938 kB / 1.035 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007894/0.5276, allocations: 399 kB / 1.035 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.863e-05/0.5277, allocations: 112.8 kB / 1.036 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.5278, allocations: 0 / 1.036 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.528, allocations: 39.95 kB / 1.036 GB, free: 2.535 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/0.5281, allocations: 23.86 kB / 1.036 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.5281, allocations: 7.984 kB / 1.036 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001167/0.5282, allocations: 170 kB / 1.036 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5282, allocations: 0 / 1.036 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002842/0.5285, allocations: 63.92 kB / 1.036 GB, free: 2.277 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.001097/0.5296, allocations: 0.9528 MB / 1.037 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007511/0.5304, allocations: 271.7 kB / 1.037 GB, free: 1.035 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5304, allocations: 4 kB / 1.037 GB, free: 1.031 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003707/0.5308, allocations: 139.8 kB / 1.037 GB, free: 0.8945 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.5311, allocations: 32.98 kB / 1.037 GB, free: 0.8633 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/0.5346, allocations: 2.636 MB / 1.04 GB, free: 14.15 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.5349, allocations: 0.7355 MB / 1.041 GB, free: 13.39 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001631/0.535, allocations: 40.84 kB / 1.041 GB, free: 13.35 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.5351, allocations: 63.39 kB / 1.041 GB, free: 13.29 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.5352, allocations: 0 / 1.041 GB, free: 13.29 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3041/0.8393, allocations: 4.431 MB / 1.045 GB, free: 9.055 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/0.8395, allocations: 221.6 kB / 1.045 GB, free: 8.801 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.997/2.836, allocations: 0 / 1.045 GB, free: 8.801 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)