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.007281/0.007281, allocations: 100.3 kB / 15.73 MB, free: 6.062 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.001631/0.001631, allocations: 188.8 kB / 16.67 MB, free: 5.973 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.241/1.241, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.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.211/2.211, allocations: 437.1 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 67.84 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6019/0.6036, allocations: 151.6 MB / 1.166 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002791/0.6064, allocations: 2.018 MB / 1.168 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003898/0.6103, allocations: 3.693 MB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.385e-05/0.6104, allocations: 0 / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.6106, allocations: 60.55 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.6109, allocations: 102 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.6112, allocations: 123.6 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002968/0.6115, allocations: 259.1 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.6116, allocations: 48.38 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.6118, allocations: 119.5 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.6119, allocations: 111.5 kB / 1.173 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.213e-05/0.612, allocations: 19.94 kB / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.6122, allocations: 115.8 kB / 1.173 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.028e-05/0.6122, allocations: 47.83 kB / 1.173 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.507e-05/0.6123, allocations: 95.45 kB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.6127, allocations: 286.6 kB / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.6127, allocations: 0 / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6127, allocations: 0 / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.6127, allocations: 3.984 kB / 1.173 GB, free: 12.63 MB / 0.9044 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.001021/0.6137, allocations: 0.5877 MB / 1.174 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.6138, allocations: 12.92 kB / 1.174 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.123e-05/0.6138, allocations: 38.75 kB / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/0.6138, allocations: 24.78 kB / 1.174 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.6142, allocations: 275.8 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.6143, allocations: 8.328 kB / 1.174 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.6143, allocations: 8.375 kB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004562/0.6147, allocations: 179.9 kB / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.6148, allocations: 0 / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.6148, allocations: 0 / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.6148, allocations: 4 kB / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000655/0.6154, allocations: 195.8 kB / 1.174 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007773/0.6162, allocations: 488.4 kB / 1.175 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.6166, allocations: 130.4 kB / 1.175 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000341/0.617, allocations: 108.8 kB / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007979/0.6178, allocations: 0.5493 MB / 1.176 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.6178, allocations: 30.56 kB / 1.176 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 2.886e-06/0.6178, allocations: 3.984 kB / 1.176 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.001123/0.6189, allocations: 349.7 kB / 1.176 GB, free: 9.391 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.619, allocations: 75.22 kB / 1.176 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.6192, allocations: 226.7 kB / 1.176 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.6192, allocations: 29.7 kB / 1.176 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/0.6193, allocations: 144 kB / 1.176 GB, free: 8.891 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.6194, allocations: 35.69 kB / 1.176 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.768e-05/0.6194, allocations: 33.7 kB / 1.176 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.6196, allocations: 330.8 kB / 1.177 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.6199, allocations: 95.91 kB / 1.177 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/0.6202, allocations: 95.91 kB / 1.177 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006412/0.6209, allocations: 196.7 kB / 1.177 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.6209, allocations: 0 / 1.177 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007367/0.6216, allocations: 258 kB / 1.177 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.6217, allocations: 11.92 kB / 1.177 GB, free: 7.832 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.6217, allocations: 0 / 1.177 GB, free: 7.832 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.739e-06/0.6217, allocations: 0 / 1.177 GB, free: 7.832 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.622, allocations: 47.95 kB / 1.177 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.622, allocations: 3.938 kB / 1.177 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.6222, allocations: 31.91 kB / 1.178 GB, free: 7.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.6222, allocations: 3.938 kB / 1.178 GB, free: 7.746 MB / 0.9044 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.00011/0.6223, allocations: 129.8 kB / 1.178 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.505e-05/0.6224, allocations: 23.86 kB / 1.178 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008157/0.6232, allocations: 283.1 kB / 1.178 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.6232, allocations: 4 kB / 1.178 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.6232, allocations: 11.92 kB / 1.178 GB, free: 7.289 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.6232, allocations: 0 / 1.178 GB, free: 7.289 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.6235, allocations: 281.4 kB / 1.178 GB, free: 6.965 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.6235, allocations: 0 / 1.178 GB, free: 6.965 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.6238, allocations: 43.94 kB / 1.178 GB, free: 6.922 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.6238, allocations: 0 / 1.178 GB, free: 6.922 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.6238, allocations: 7.984 kB / 1.178 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.6238, allocations: 0 / 1.178 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.6239, allocations: 11.92 kB / 1.178 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007735/0.6246, allocations: 359.1 kB / 1.179 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.729e-05/0.6247, allocations: 112.9 kB / 1.179 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.6248, allocations: 4 kB / 1.179 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.625, allocations: 27.97 kB / 1.179 GB, free: 6.375 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.6251, allocations: 19.92 kB / 1.179 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.6251, allocations: 3.984 kB / 1.179 GB, free: 6.352 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001356/0.6252, allocations: 170 kB / 1.179 GB, free: 6.188 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6252, allocations: 4 kB / 1.179 GB, free: 6.184 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002741/0.6255, allocations: 63.81 kB / 1.179 GB, free: 6.121 MB / 0.9044 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.001134/0.6267, allocations: 0.919 MB / 1.18 GB, free: 5.172 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007164/0.6274, allocations: 215.8 kB / 1.18 GB, free: 4.961 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.6274, allocations: 0 / 1.18 GB, free: 4.961 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003641/0.6278, allocations: 115.8 kB / 1.18 GB, free: 4.848 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.6281, allocations: 37.59 kB / 1.18 GB, free: 4.812 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003549/0.6317, allocations: 2.449 MB / 1.183 GB, free: 2.289 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.632, allocations: 0.743 MB / 1.183 GB, free: 1.52 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000137/0.6321, allocations: 32.84 kB / 1.183 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.6323, allocations: 67.41 kB / 1.183 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of SimCode: time 1.893e-06/0.6323, allocations: 96 / 1.183 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9062/1.538, allocations: 4.992 MB / 1.188 GB, free: 12.58 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/11.75, allocations: 5.984 kB / 1.188 GB, free: 12.57 MB / 0.92 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=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)