Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.399/1.399, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001565/0.001564, allocations: 191.6 kB / 326.5 MB, free: 2.258 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.025/2.025, allocations: 205.4 MB / 0.5775 GB, free: 20.57 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.0009169/0.0009171, allocations: 87.78 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004105/0.0004105, allocations: 10.03 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2919, allocations: 106.3 MB / 0.9001 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.282/6.574, allocations: 2.191 GB / 3.091 GB, free: 245.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000393/6.575, allocations: 88.55 kB / 3.091 GB, free: 245.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1853/6.76, allocations: 78.22 MB / 3.167 GB, free: 231 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.697e-06/6.76, allocations: 0 / 3.167 GB, free: 231 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001643/6.76, allocations: 39.25 kB / 3.167 GB, free: 231 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.003817/6.764, allocations: 1.354 MB / 3.169 GB, free: 230 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/6.764, allocations: 11.72 kB / 3.169 GB, free: 230 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004957/6.765, allocations: 167.9 kB / 3.169 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/6.766, allocations: 222 kB / 3.169 GB, free: 229.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/6.768, allocations: 0.7095 MB / 3.17 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-05/6.768, allocations: 83.97 kB / 3.17 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002256/6.768, allocations: 110.4 kB / 3.17 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002258/6.77, allocations: 1.104 MB / 3.171 GB, free: 229 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/6.77, allocations: 3.953 kB / 3.171 GB, free: 229 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/6.771, allocations: 48.72 kB / 3.171 GB, free: 229 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.587e-05/6.771, allocations: 27.44 kB / 3.171 GB, free: 229 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/6.773, allocations: 1.226 MB / 3.172 GB, free: 228.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004676/6.777, allocations: 3.01 MB / 3.175 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/6.778, allocations: 0.7911 MB / 3.176 GB, free: 227 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.247e-05/6.779, allocations: 24.3 kB / 3.176 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007722/6.779, allocations: 456.8 kB / 3.176 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=78): time 3.457e-06/6.779, allocations: 0 / 3.176 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=78): time 0.002944/6.782, allocations: 1.164 MB / 3.178 GB, free: 226.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/6.782, allocations: 243.8 kB / 3.178 GB, free: 226.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009362/6.783, allocations: 0.6509 MB / 3.178 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.779e-05/6.783, allocations: 39.8 kB / 3.179 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004171/6.784, allocations: 498.9 kB / 3.179 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/6.784, allocations: 256.9 kB / 3.179 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/6.784, allocations: 11.34 kB / 3.179 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001327/6.784, allocations: 343.6 kB / 3.18 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004204/6.785, allocations: 236.1 kB / 3.18 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005241/6.785, allocations: 352.6 kB / 3.18 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000479/6.786, allocations: 296.5 kB / 3.18 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/6.786, allocations: 0 / 3.18 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001614/6.787, allocations: 0.7938 MB / 3.181 GB, free: 224.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/6.787, allocations: 7.844 kB / 3.181 GB, free: 224.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/6.787, allocations: 3.906 kB / 3.181 GB, free: 224.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006487/6.788, allocations: 86.62 kB / 3.181 GB, free: 224.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006091/6.789, allocations: 151.9 kB / 3.181 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/6.791, allocations: 1.529 MB / 3.183 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006904/6.791, allocations: 85.59 kB / 3.183 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.884e-05/6.791, allocations: 31.14 kB / 3.183 GB, free: 223.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (83): * Single equations (assignments): 82 * 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.000728/6.792, allocations: 277.8 kB / 3.183 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/6.792, allocations: 93.34 kB / 3.183 GB, free: 223 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002076/6.794, allocations: 1.045 MB / 3.184 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/6.794, allocations: 11.8 kB / 3.184 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/6.794, allocations: 3.938 kB / 3.184 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/6.794, allocations: 3.984 kB / 3.184 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/6.796, allocations: 0.9989 MB / 3.185 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/6.796, allocations: 3.953 kB / 3.185 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005733/6.796, allocations: 156 kB / 3.186 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004953/6.797, allocations: 82.7 kB / 3.186 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-05/6.797, allocations: 26.92 kB / 3.186 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/6.798, allocations: 1.548 MB / 3.187 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/6.798, allocations: 0 / 3.187 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/6.8, allocations: 0.9 MB / 3.188 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004442/6.8, allocations: 297.4 kB / 3.188 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/6.801, allocations: 18.56 kB / 3.188 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005267/6.801, allocations: 73.91 kB / 3.188 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/6.801, allocations: 55.83 kB / 3.188 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.864e-05/6.801, allocations: 34.72 kB / 3.189 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005996/6.802, allocations: 0.522 MB / 3.189 GB, free: 220.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/6.802, allocations: 0 / 3.189 GB, free: 220.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00114/6.803, allocations: 372.1 kB / 3.189 GB, free: 220 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.003585/6.807, allocations: 2.367 MB / 3.192 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001518/6.808, allocations: 0.7746 MB / 3.192 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/6.808, allocations: 0 / 3.192 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007764/6.809, allocations: 0.5075 MB / 3.193 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/6.81, allocations: 252.9 kB / 3.193 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00917/6.819, allocations: 5.733 MB / 3.199 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005458/6.82, allocations: 1.1 MB / 3.2 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0009546/6.821, allocations: 262.5 kB / 3.2 GB, free: 214.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005171/6.821, allocations: 443.2 kB / 3.201 GB, free: 214.4 MB / 0.8855 GB Notification: Performance of SimCode: time 8.41e-07/6.821, allocations: 0 / 3.201 GB, free: 214.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05461/6.876, allocations: 30.53 MB / 3.23 GB, free: 191.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/6.876, allocations: 287.5 kB / 3.231 GB, free: 191.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.405/10.28, allocations: 3.938 kB / 3.231 GB, free: 191.1 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)