Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_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.001204/0.001204, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001242/0.001242, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.232/1.232, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.369/2.369, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 59.86 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2558, allocations: 157.4 MB / 1.052 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00598/0.2618, allocations: 5.958 MB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1281/0.39, allocations: 148.6 MB / 1.203 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008477/0.3909, allocations: 19.94 kB / 1.203 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000725/0.3916, allocations: 178.5 kB / 1.204 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001672/0.3933, allocations: 0.5472 MB / 1.204 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.3949, allocations: 0.7769 MB / 1.205 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001305/0.3962, allocations: 1.646 MB / 1.206 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009412/0.3972, allocations: 0.8696 MB / 1.207 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005474/0.3977, allocations: 0.6073 MB / 1.208 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005464/0.3983, allocations: 0.6651 MB / 1.209 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.3985, allocations: 156 kB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006554/0.3991, allocations: 499.6 kB / 1.209 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002497/0.3994, allocations: 370.8 kB / 1.209 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004818/0.3999, allocations: 0.7424 MB / 1.21 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.4014, allocations: 1.986 MB / 1.212 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.4014, allocations: 0 / 1.212 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4014, allocations: 0 / 1.212 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.4014, allocations: 0 / 1.212 GB, free: 4.445 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002369/0.4038, allocations: 1.724 MB / 1.214 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.4038, allocations: 8.625 kB / 1.214 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000172/0.404, allocations: 185.8 kB / 1.214 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008332/0.4048, allocations: 219 kB / 1.214 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009439/0.4058, allocations: 0.8403 MB / 1.215 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.168e-05/0.4059, allocations: 94.41 kB / 1.215 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.406, allocations: 116 kB / 1.215 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/0.4077, allocations: 1.198 MB / 1.216 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.4077, allocations: 3.938 kB / 1.216 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.331e-05/0.4078, allocations: 55.98 kB / 1.216 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.4078, allocations: 28 kB / 1.217 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/0.4096, allocations: 1.293 MB / 1.218 GB, free: 14.51 MB / 0.9825 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.004039/0.4137, allocations: 3.585 MB / 1.221 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.415, allocations: 0.8715 MB / 1.222 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004796/0.4155, allocations: 318.7 kB / 1.222 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.96e-05/0.4156, allocations: 36.59 kB / 1.222 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000811/0.4164, allocations: 0.5197 MB / 1.223 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=87): time 1.874e-06/0.4164, allocations: 0 / 1.223 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of matching and sorting (n=87): time 0.002922/0.4193, allocations: 1.282 MB / 1.224 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.985e-05/0.4194, allocations: 188.9 kB / 1.224 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007225/0.4201, allocations: 0.7353 MB / 1.225 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.954e-05/0.4202, allocations: 45.7 kB / 1.225 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.4205, allocations: 0.5232 MB / 1.226 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/0.4207, allocations: 279.9 kB / 1.226 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/0.4209, allocations: 162.5 kB / 1.226 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.946e-05/0.421, allocations: 337.9 kB / 1.226 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004644/0.4215, allocations: 269.9 kB / 1.227 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005445/0.4221, allocations: 382.5 kB / 1.227 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009752/0.423, allocations: 0.632 MB / 1.228 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4231, allocations: 4 kB / 1.228 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001712/0.4248, allocations: 0.8798 MB / 1.229 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.4248, allocations: 9.188 kB / 1.229 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4248, allocations: 4 kB / 1.229 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005617/0.4254, allocations: 80.88 kB / 1.229 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006078/0.426, allocations: 163.7 kB / 1.229 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1923/0.6183, allocations: 1.635 MB / 1.23 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.6194, allocations: 107.3 kB / 1.23 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-05/0.6195, allocations: 35.98 kB / 1.231 GB, free: 0.9688 MB / 0.9825 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 (96): * Single equations (assignments): 95 * 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.0005428/0.62, allocations: 303.1 kB / 1.231 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.6202, allocations: 98.72 kB / 1.231 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/0.6225, allocations: 1.122 MB / 1.232 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.6225, allocations: 19.92 kB / 1.232 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.6225, allocations: 0 / 1.232 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.128e-06/0.6226, allocations: 3.984 kB / 1.232 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.6236, allocations: 1.056 MB / 1.233 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6237, allocations: 4 kB / 1.233 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005741/0.6242, allocations: 147.8 kB / 1.233 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004197/0.6247, allocations: 76.78 kB / 1.233 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.414e-05/0.6247, allocations: 27.92 kB / 1.233 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/0.6264, allocations: 1.658 MB / 1.235 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6264, allocations: 0 / 1.235 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.6282, allocations: 0.9823 MB / 1.236 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003232/0.6285, allocations: 295.5 kB / 1.236 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.6286, allocations: 20 kB / 1.236 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006331/0.6293, allocations: 77.58 kB / 1.236 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.6294, allocations: 72.89 kB / 1.236 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.859e-05/0.6295, allocations: 35.98 kB / 1.236 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005504/0.6301, allocations: 0.5224 MB / 1.237 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6301, allocations: 0 / 1.237 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007702/0.6308, allocations: 378.8 kB / 1.237 GB, free: 9.844 MB / 0.9981 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 (98): * Single equations (assignments): 92 * 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.003126/0.634, allocations: 2.047 MB / 1.239 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002142/0.6361, allocations: 1.07 MB / 1.24 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6361, allocations: 0 / 1.24 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008497/0.637, allocations: 0.5509 MB / 1.241 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.6381, allocations: 319.8 kB / 1.241 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3921/1.03, allocations: 7.874 MB / 1.249 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000491/1.031, allocations: 1.114 MB / 1.25 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008779/1.032, allocations: 297.3 kB / 1.25 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005004/1.032, allocations: 485.9 kB / 1.251 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/1.032, allocations: 0 / 1.251 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7395/1.772, allocations: 23.65 MB / 1.274 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003123/1.772, allocations: 311.7 kB / 1.274 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.585/4.357, allocations: 7.844 kB / 1.274 GB, free: 184.4 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)