Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_11_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.001658/0.001663, allocations: 108 kB / 15.61 MB, free: 152 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.001765/0.001765, allocations: 195 kB / 16.53 MB, free: 6.699 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.704/2.704, allocations: 469.8 MB / 0.7424 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 69.86 kB / 0.9087 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2384, allocations: 159.1 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006429/0.2449, allocations: 4.857 MB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1506/0.3955, allocations: 150.6 MB / 1.216 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006585/0.3962, allocations: 19.88 kB / 1.216 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006084/0.3968, allocations: 186.3 kB / 1.216 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.3986, allocations: 0.5481 MB / 1.217 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.4005, allocations: 0.8257 MB / 1.217 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001512/0.402, allocations: 1.366 MB / 1.219 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008549/0.4028, allocations: 0.5831 MB / 1.219 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006363/0.4035, allocations: 478.4 kB / 1.22 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000594/0.4041, allocations: 0.5017 MB / 1.22 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000155/0.4043, allocations: 112 kB / 1.22 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007474/0.405, allocations: 451.7 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002622/0.4053, allocations: 299 kB / 1.221 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004864/0.4058, allocations: 0.5557 MB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001536/0.4073, allocations: 1.581 MB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4073, allocations: 8 kB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.002e-06/0.4074, allocations: 0 / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.4074, allocations: 0 / 1.223 GB, free: 10.61 MB / 0.9825 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.002307/0.4097, allocations: 1.426 MB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.4097, allocations: 12.03 kB / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001574/0.4099, allocations: 135.4 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008612/0.4108, allocations: 187.4 kB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009576/0.4117, allocations: 0.7342 MB / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.963e-05/0.4118, allocations: 62 kB / 1.226 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-05/0.4119, allocations: 80 kB / 1.226 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.4134, allocations: 0.9106 MB / 1.227 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.4134, allocations: 3.938 kB / 1.227 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-05/0.4135, allocations: 36 kB / 1.227 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.4135, allocations: 20 kB / 1.227 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.4152, allocations: 1.1 MB / 1.228 GB, free: 5.762 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.003684/0.4189, allocations: 2.716 MB / 1.23 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.4204, allocations: 0.7979 MB / 1.231 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005097/0.4209, allocations: 298.7 kB / 1.231 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.882e-05/0.421, allocations: 32.69 kB / 1.232 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008236/0.4218, allocations: 499.1 kB / 1.232 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=80): time 1.753e-06/0.4218, allocations: 0 / 1.232 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of matching and sorting (n=80): time 0.00303/0.4248, allocations: 1.194 MB / 1.233 GB, free: 76 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.425, allocations: 192.5 kB / 1.233 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007101/0.4257, allocations: 0.6254 MB / 1.234 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.941e-05/0.4257, allocations: 45.7 kB / 1.234 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002938/0.426, allocations: 400.3 kB / 1.234 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.4262, allocations: 256.3 kB / 1.235 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.4265, allocations: 146.5 kB / 1.235 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.4267, allocations: 394.7 kB / 1.235 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004765/0.4271, allocations: 249.9 kB / 1.235 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005834/0.4277, allocations: 354.6 kB / 1.236 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.4288, allocations: 0.5877 MB / 1.236 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.4288, allocations: 4.062 kB / 1.236 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001745/0.4305, allocations: 0.8019 MB / 1.237 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.4306, allocations: 8 kB / 1.237 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.4306, allocations: 4.094 kB / 1.237 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005389/0.4311, allocations: 80.72 kB / 1.237 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00057/0.4317, allocations: 155.8 kB / 1.237 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001957/0.4337, allocations: 1.623 MB / 1.239 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005464/0.4342, allocations: 83.33 kB / 1.239 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.954e-05/0.4343, allocations: 39.95 kB / 1.239 GB, free: 9.797 MB / 0.9981 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.0003199/0.4346, allocations: 265.6 kB / 1.239 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.4348, allocations: 82.97 kB / 1.239 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/0.437, allocations: 1.058 MB / 1.24 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.437, allocations: 8 kB / 1.24 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.437, allocations: 3.938 kB / 1.24 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.4371, allocations: 7.984 kB / 1.24 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009421/0.438, allocations: 0.8996 MB / 1.241 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.438, allocations: 0 / 1.241 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005337/0.4386, allocations: 143.8 kB / 1.241 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004098/0.439, allocations: 72.78 kB / 1.241 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.834e-05/0.439, allocations: 23.98 kB / 1.242 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.4409, allocations: 1.666 MB / 1.243 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4409, allocations: 0 / 1.243 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.4427, allocations: 0.9239 MB / 1.244 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003099/0.443, allocations: 271.7 kB / 1.244 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.4431, allocations: 20 kB / 1.244 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005681/0.4437, allocations: 65.28 kB / 1.244 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.4439, allocations: 80.77 kB / 1.244 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.215e-05/0.4439, allocations: 27.98 kB / 1.244 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005318/0.4445, allocations: 467 kB / 1.245 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4445, allocations: 0 / 1.245 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006409/0.4451, allocations: 319.2 kB / 1.245 GB, free: 3.168 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 (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.003701/0.4488, allocations: 1.968 MB / 1.247 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002107/0.451, allocations: 0.9991 MB / 1.248 GB, free: 352 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.451, allocations: 0 / 1.248 GB, free: 352 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.3493/0.8003, allocations: 0.5086 MB / 1.249 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.8016, allocations: 290 kB / 1.249 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008974/0.8106, allocations: 6.352 MB / 1.255 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.811, allocations: 1.023 MB / 1.256 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006878/0.8116, allocations: 269.5 kB / 1.256 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003699/0.812, allocations: 372.5 kB / 1.257 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/0.812, allocations: 0 / 1.257 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.707/3.519, allocations: 21.27 MB / 1.277 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.83/23.34, allocations: 12.02 kB / 1.278 GB, free: 178.5 MB / 0.9981 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)