Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.46/1.46, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001249/0.001249, allocations: 182.7 kB / 326.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.171/2.171, allocations: 205.4 MB / 0.5775 GB, free: 20.47 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008745/0.0008748, allocations: 104.2 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004981/0.0004981, allocations: 11.16 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2932, allocations: 106.3 MB / 0.9001 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.551/6.845, allocations: 2.192 GB / 3.093 GB, free: 245.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/6.845, allocations: 92.55 kB / 3.093 GB, free: 245.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1904/7.035, allocations: 82.16 MB / 3.173 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.434e-06/7.035, allocations: 0 / 3.173 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001592/7.036, allocations: 23.41 kB / 3.173 GB, free: 228.4 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.004575/7.04, allocations: 1.435 MB / 3.174 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/7.04, allocations: 7.906 kB / 3.174 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007335/7.041, allocations: 186.5 kB / 3.175 GB, free: 227.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/7.043, allocations: 230.3 kB / 3.175 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/7.044, allocations: 0.7445 MB / 3.175 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/7.044, allocations: 120 kB / 3.176 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/7.045, allocations: 118.7 kB / 3.176 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/7.047, allocations: 1.232 MB / 3.177 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/7.047, allocations: 0 / 3.177 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/7.047, allocations: 52.42 kB / 3.177 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/7.047, allocations: 31.22 kB / 3.177 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/7.049, allocations: 1.366 MB / 3.178 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005744/7.055, allocations: 3.356 MB / 3.182 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/7.056, allocations: 0.9069 MB / 3.182 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.415e-05/7.056, allocations: 43.77 kB / 3.183 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009367/7.057, allocations: 0.5488 MB / 3.183 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=93): time 4.769e-06/7.057, allocations: 0 / 3.183 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=93): time 0.003634/7.061, allocations: 1.395 MB / 3.184 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.548e-05/7.061, allocations: 247.9 kB / 3.185 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/7.062, allocations: 0.6956 MB / 3.185 GB, free: 223 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001162/7.062, allocations: 48.23 kB / 3.185 GB, free: 223 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004314/7.063, allocations: 0.5087 MB / 3.186 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/7.063, allocations: 312.7 kB / 3.186 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/7.063, allocations: 14.97 kB / 3.186 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001028/7.063, allocations: 340.6 kB / 3.187 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005244/7.064, allocations: 308.4 kB / 3.187 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005912/7.064, allocations: 437.7 kB / 3.187 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000599/7.065, allocations: 374.2 kB / 3.188 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/7.065, allocations: 0 / 3.188 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002118/7.067, allocations: 0.9863 MB / 3.189 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/7.067, allocations: 3.969 kB / 3.189 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/7.067, allocations: 8 kB / 3.189 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006363/7.068, allocations: 84.91 kB / 3.189 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008043/7.068, allocations: 186.6 kB / 3.189 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/7.07, allocations: 1.553 MB / 3.19 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/7.072, allocations: 100 kB / 3.19 GB, free: 220.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.252e-05/7.072, allocations: 37.84 kB / 3.19 GB, free: 220.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007944/7.072, allocations: 292.8 kB / 3.191 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/7.073, allocations: 105.7 kB / 3.191 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002806/7.076, allocations: 1.309 MB / 3.192 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/7.076, allocations: 7.625 kB / 3.192 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/7.076, allocations: 3.75 kB / 3.192 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/7.076, allocations: 7.969 kB / 3.192 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004042/7.08, allocations: 2.46 MB / 3.195 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/7.08, allocations: 0 / 3.195 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007235/7.08, allocations: 182.6 kB / 3.195 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005154/7.081, allocations: 89.03 kB / 3.195 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.425e-05/7.081, allocations: 30.05 kB / 3.195 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/7.083, allocations: 1.576 MB / 3.196 GB, free: 217.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/7.083, allocations: 0 / 3.196 GB, free: 217.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002181/7.085, allocations: 1.115 MB / 3.197 GB, free: 216.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006203/7.085, allocations: 347.5 kB / 3.198 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/7.086, allocations: 17.91 kB / 3.198 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007437/7.086, allocations: 82.73 kB / 3.198 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/7.087, allocations: 75.55 kB / 3.198 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.861e-05/7.087, allocations: 42.84 kB / 3.198 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009064/7.088, allocations: 0.5803 MB / 3.199 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/7.088, allocations: 0 / 3.199 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001479/7.089, allocations: 414.3 kB / 3.199 GB, free: 216.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004181/7.093, allocations: 2.592 MB / 3.201 GB, free: 215 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001848/7.095, allocations: 0.9346 MB / 3.202 GB, free: 214.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/7.095, allocations: 192 / 3.202 GB, free: 214.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009311/7.096, allocations: 0.5885 MB / 3.203 GB, free: 214.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/7.097, allocations: 255.2 kB / 3.203 GB, free: 214.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006557/7.104, allocations: 3.825 MB / 3.207 GB, free: 212 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006267/7.105, allocations: 1.147 MB / 3.208 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001251/7.106, allocations: 307.2 kB / 3.208 GB, free: 211 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006523/7.107, allocations: 494.8 kB / 3.209 GB, free: 210.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.152e-06/7.107, allocations: 7.031 kB / 3.209 GB, free: 210.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06132/7.168, allocations: 33.38 MB / 3.241 GB, free: 181.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/7.168, allocations: 284.3 kB / 3.242 GB, free: 181.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.235/10.4, allocations: 0 / 3.242 GB, free: 181.5 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)