Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_9_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.004931/0.004931, allocations: 101.9 kB / 15.73 MB, free: 6.438 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.001225/0.001225, allocations: 194.6 kB / 16.67 MB, free: 6.355 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.245/1.245, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.066/2.066, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 70.86 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2052, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002509/0.2078, allocations: 2.011 MB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003529/0.2113, allocations: 3.691 MB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.7e-05/0.2114, allocations: 3.938 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.2116, allocations: 55.62 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.2119, allocations: 99.28 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.2121, allocations: 135.6 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.2124, allocations: 255.1 kB / 1.094 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.2125, allocations: 48.94 kB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.2127, allocations: 111.6 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.2128, allocations: 115.4 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.2129, allocations: 16 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.2131, allocations: 115.8 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.888e-05/0.2131, allocations: 51.83 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.818e-05/0.2132, allocations: 99.39 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.2135, allocations: 283.3 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2135, allocations: 3.984 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2135, allocations: 0 / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2135, allocations: 0 / 1.094 GB, free: 10.88 MB / 0.8575 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.0009918/0.2145, allocations: 0.5801 MB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.2146, allocations: 8.031 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.979e-05/0.2146, allocations: 42.73 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/0.2147, allocations: 24.66 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.215, allocations: 271.5 kB / 1.095 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.2151, allocations: 4.375 kB / 1.095 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.2151, allocations: 12.38 kB / 1.095 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/0.2155, allocations: 173.4 kB / 1.095 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.2156, allocations: 0 / 1.095 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.2156, allocations: 0 / 1.095 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.2156, allocations: 8 kB / 1.095 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006448/0.2162, allocations: 191.8 kB / 1.096 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007566/0.217, allocations: 0.4924 MB / 1.096 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/0.2174, allocations: 122.4 kB / 1.096 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003333/0.2177, allocations: 108.8 kB / 1.096 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007774/0.2185, allocations: 0.5493 MB / 1.097 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.2185, allocations: 34.56 kB / 1.097 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.2185, allocations: 0 / 1.097 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.001102/0.2196, allocations: 357.3 kB / 1.097 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.2197, allocations: 55.34 kB / 1.097 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.2199, allocations: 226.7 kB / 1.098 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.2199, allocations: 33.7 kB / 1.098 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.007e-05/0.22, allocations: 140 kB / 1.098 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.409e-05/0.22, allocations: 35.48 kB / 1.098 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.855e-05/0.2201, allocations: 33.64 kB / 1.098 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.2202, allocations: 330.8 kB / 1.098 GB, free: 6.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003232/0.2205, allocations: 95.91 kB / 1.098 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/0.2209, allocations: 95.91 kB / 1.098 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006239/0.2215, allocations: 197.3 kB / 1.098 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.2215, allocations: 0 / 1.098 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007153/0.2222, allocations: 269.1 kB / 1.099 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.2222, allocations: 8 kB / 1.099 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.2222, allocations: 0 / 1.099 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.2223, allocations: 0 / 1.099 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.2225, allocations: 43.89 kB / 1.099 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.2226, allocations: 3.938 kB / 1.099 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.2228, allocations: 35.86 kB / 1.099 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.2228, allocations: 8 kB / 1.099 GB, free: 6 MB / 0.8575 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.0001004/0.2229, allocations: 125.8 kB / 1.099 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.2229, allocations: 15.81 kB / 1.099 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008036/0.2238, allocations: 279 kB / 1.099 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2238, allocations: 7.984 kB / 1.099 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2238, allocations: 7.875 kB / 1.099 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2238, allocations: 0 / 1.099 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.224, allocations: 277.4 kB / 1.099 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2241, allocations: 0 / 1.099 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/0.2243, allocations: 43.94 kB / 1.1 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2243, allocations: 4 kB / 1.1 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.2244, allocations: 7.984 kB / 1.1 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2244, allocations: 0 / 1.1 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2244, allocations: 3.938 kB / 1.1 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007477/0.2251, allocations: 362.9 kB / 1.1 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.63e-05/0.2252, allocations: 116.7 kB / 1.1 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.2253, allocations: 4 kB / 1.1 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.2255, allocations: 27.97 kB / 1.1 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.2256, allocations: 19.91 kB / 1.1 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.2256, allocations: 4 kB / 1.1 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001221/0.2257, allocations: 166 kB / 1.1 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2257, allocations: 0 / 1.1 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002784/0.226, allocations: 55.98 kB / 1.1 GB, free: 4.41 MB / 0.8575 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.001064/0.2271, allocations: 0.9189 MB / 1.101 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007052/0.2278, allocations: 215.8 kB / 1.101 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2278, allocations: 0 / 1.101 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000351/0.2282, allocations: 115.8 kB / 1.101 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.2285, allocations: 38.89 kB / 1.102 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003399/0.2319, allocations: 2.464 MB / 1.104 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.2322, allocations: 0.7353 MB / 1.105 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001399/0.2324, allocations: 40.83 kB / 1.105 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.2325, allocations: 67.41 kB / 1.105 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of SimCode: time 3.61e-07/0.2325, allocations: 0 / 1.105 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6088/0.8412, allocations: 4.975 MB / 1.11 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.6, allocations: 9.438 kB / 1.11 GB, free: 10.86 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)