Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.001206/0.001206, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 196.1 kB / 16.53 MB, free: 6.672 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.199/1.199, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.276/2.276, allocations: 437.1 MB / 0.7104 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001179, allocations: 55.91 kB / 0.8693 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4991/0.5003, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005782/0.5061, allocations: 4.861 MB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1329/0.639, allocations: 150.6 MB / 1.169 GB, free: 6.434 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006614/0.6397, allocations: 15.94 kB / 1.169 GB, free: 6.418 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005858/0.6403, allocations: 194.2 kB / 1.169 GB, free: 6.227 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.6419, allocations: 0.5474 MB / 1.17 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.6436, allocations: 0.8219 MB / 1.171 GB, free: 4.863 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001263/0.6449, allocations: 1.362 MB / 1.172 GB, free: 3.496 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007149/0.6456, allocations: 0.5882 MB / 1.173 GB, free: 2.891 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004786/0.6461, allocations: 478.3 kB / 1.173 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004884/0.6466, allocations: 0.4959 MB / 1.174 GB, free: 1.926 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.6468, allocations: 116 kB / 1.174 GB, free: 1.812 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006878/0.6475, allocations: 451.6 kB / 1.174 GB, free: 1.371 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002251/0.6477, allocations: 299 kB / 1.174 GB, free: 1.078 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003975/0.6481, allocations: 0.5597 MB / 1.175 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.6494, allocations: 1.585 MB / 1.177 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.6494, allocations: 0 / 1.177 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6494, allocations: 0 / 1.177 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.6495, allocations: 0 / 1.177 GB, free: 14.93 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002067/0.6515, allocations: 1.422 MB / 1.178 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.6516, allocations: 8.031 kB / 1.178 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.6517, allocations: 139.4 kB / 1.178 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008331/0.6526, allocations: 191.4 kB / 1.178 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008716/0.6534, allocations: 0.7381 MB / 1.179 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.728e-05/0.6535, allocations: 62 kB / 1.179 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.529e-05/0.6536, allocations: 87.94 kB / 1.179 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.6549, allocations: 0.9144 MB / 1.18 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.6549, allocations: 0 / 1.18 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.572e-05/0.655, allocations: 36 kB / 1.18 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.6551, allocations: 24 kB / 1.18 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.6566, allocations: 1.1 MB / 1.181 GB, free: 10.06 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003325/0.6599, allocations: 2.701 MB / 1.184 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/0.6613, allocations: 0.7979 MB / 1.185 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004697/0.6617, allocations: 298.7 kB / 1.185 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.608e-05/0.6618, allocations: 40.66 kB / 1.185 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007804/0.6626, allocations: 491.2 kB / 1.185 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=80): time 1.783e-06/0.6626, allocations: 0 / 1.185 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of matching and sorting (n=80): time 0.002915/0.6655, allocations: 1.19 MB / 1.186 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.253e-05/0.6656, allocations: 192.6 kB / 1.187 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006628/0.6663, allocations: 0.6254 MB / 1.187 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.546e-05/0.6664, allocations: 41.7 kB / 1.187 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.6666, allocations: 396.3 kB / 1.188 GB, free: 3.086 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.6668, allocations: 260.3 kB / 1.188 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.667, allocations: 150.5 kB / 1.188 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.6671, allocations: 386.7 kB / 1.188 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004568/0.6676, allocations: 249.9 kB / 1.189 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005463/0.6681, allocations: 362.5 kB / 1.189 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000974/0.6691, allocations: 0.5838 MB / 1.19 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.6691, allocations: 0 / 1.19 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001683/0.6708, allocations: 0.798 MB / 1.19 GB, free: 268 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.6709, allocations: 8.094 kB / 1.19 GB, free: 260 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.6709, allocations: 4 kB / 1.19 GB, free: 256 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000549/0.6714, allocations: 88.64 kB / 1.19 GB, free: 164 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005609/0.672, allocations: 151.8 kB / 1.191 GB, free: 12 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/0.6738, allocations: 1.63 MB / 1.192 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005963/0.6744, allocations: 91.3 kB / 1.192 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.292e-05/0.6745, allocations: 31.98 kB / 1.192 GB, free: 14.11 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003078/0.6748, allocations: 271 kB / 1.193 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.6749, allocations: 86.91 kB / 1.193 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002125/0.6771, allocations: 1.058 MB / 1.194 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.6771, allocations: 8 kB / 1.194 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.6771, allocations: 3.938 kB / 1.194 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.6771, allocations: 3.984 kB / 1.194 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008452/0.678, allocations: 0.8996 MB / 1.195 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.678, allocations: 0 / 1.195 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005306/0.6785, allocations: 143.7 kB / 1.195 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004041/0.6789, allocations: 76.78 kB / 1.195 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.733e-05/0.679, allocations: 23.98 kB / 1.195 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/0.6806, allocations: 1.666 MB / 1.196 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6806, allocations: 0 / 1.196 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.6823, allocations: 0.924 MB / 1.197 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002809/0.6826, allocations: 267.7 kB / 1.198 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.6827, allocations: 20 kB / 1.198 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005683/0.6833, allocations: 59.92 kB / 1.198 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.6834, allocations: 72.84 kB / 1.198 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.924e-05/0.6835, allocations: 35.97 kB / 1.198 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004835/0.684, allocations: 467 kB / 1.198 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.684, allocations: 0 / 1.198 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006627/0.6847, allocations: 311.3 kB / 1.199 GB, free: 7.488 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003125/0.6878, allocations: 1.988 MB / 1.2 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002021/0.6898, allocations: 1.007 MB / 1.201 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.6899, allocations: 3.984 kB / 1.201 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008372/0.6907, allocations: 0.5121 MB / 1.202 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.6917, allocations: 304.3 kB / 1.202 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008522/0.7003, allocations: 6.341 MB / 1.208 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/0.7007, allocations: 1.023 MB / 1.209 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007089/0.7015, allocations: 254.7 kB / 1.21 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004445/0.7019, allocations: 379.3 kB / 1.21 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/0.7019, allocations: 3.938 kB / 1.21 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.145/2.847, allocations: 21.27 MB / 1.231 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.51/18.36, allocations: 23.92 kB / 1.231 GB, free: 6.824 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)