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.004615/0.004615, allocations: 97.41 kB / 15.73 MB, free: 6.039 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.001657/0.001657, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.278/2.278, allocations: 437.1 MB / 0.7106 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 63.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2355, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005699/0.2413, allocations: 4.856 MB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.5916/0.8329, allocations: 150.6 MB / 1.318 GB, free: 10.29 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006026/0.8335, allocations: 15.28 kB / 1.318 GB, free: 10.29 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005057/0.834, allocations: 190.6 kB / 1.318 GB, free: 10.18 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.8354, allocations: 0.5381 MB / 1.319 GB, free: 9.941 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.837, allocations: 0.8368 MB / 1.32 GB, free: 9.777 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0011/0.8381, allocations: 1.376 MB / 1.321 GB, free: 9.523 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006805/0.8388, allocations: 0.5752 MB / 1.321 GB, free: 9.371 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004518/0.8393, allocations: 485.1 kB / 1.322 GB, free: 9.27 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005119/0.8398, allocations: 0.496 MB / 1.322 GB, free: 9.141 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.8399, allocations: 115 kB / 1.322 GB, free: 9.141 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007033/0.8407, allocations: 488.9 kB / 1.323 GB, free: 9.105 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002419/0.8409, allocations: 294.9 kB / 1.323 GB, free: 9.051 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004534/0.8414, allocations: 0.5563 MB / 1.324 GB, free: 8.809 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001715/0.8431, allocations: 1.626 MB / 1.325 GB, free: 8.125 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.8431, allocations: 0.6094 kB / 1.325 GB, free: 8.125 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8431, allocations: 0 / 1.325 GB, free: 8.125 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.602e-05/0.8431, allocations: 0 / 1.325 GB, free: 8.125 MB / 1.014 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.002332/0.8455, allocations: 1.467 MB / 1.327 GB, free: 7.113 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.8455, allocations: 9.031 kB / 1.327 GB, free: 7.113 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001572/0.8457, allocations: 138 kB / 1.327 GB, free: 7.02 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008417/0.8465, allocations: 188.6 kB / 1.327 GB, free: 6.957 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.8476, allocations: 0.7699 MB / 1.328 GB, free: 6.453 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.084e-05/0.8477, allocations: 64.56 kB / 1.328 GB, free: 6.426 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-05/0.8478, allocations: 82.2 kB / 1.328 GB, free: 6.398 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.8493, allocations: 0.9104 MB / 1.329 GB, free: 5.977 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.8493, allocations: 5.531 kB / 1.329 GB, free: 5.973 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.996e-05/0.8494, allocations: 36.78 kB / 1.329 GB, free: 5.945 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.8494, allocations: 20.59 kB / 1.329 GB, free: 5.945 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.8511, allocations: 1.105 MB / 1.33 GB, free: 5.695 MB / 1.014 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.003621/0.8547, allocations: 2.686 MB / 1.333 GB, free: 4.047 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.8561, allocations: 0.7903 MB / 1.333 GB, free: 3.75 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005134/0.8566, allocations: 303.3 kB / 1.334 GB, free: 3.633 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.762e-05/0.8567, allocations: 32.39 kB / 1.334 GB, free: 3.621 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007756/0.8575, allocations: 493.2 kB / 1.334 GB, free: 3.418 MB / 1.014 GB Notification: Performance of pre-optimization done (n=80): time 4.137e-06/0.8575, allocations: 4.828 kB / 1.334 GB, free: 3.414 MB / 1.014 GB Notification: Performance of matching and sorting (n=80): time 0.002967/0.8604, allocations: 1.197 MB / 1.335 GB, free: 2.914 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.8606, allocations: 188.6 kB / 1.336 GB, free: 2.695 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007021/0.8613, allocations: 0.6318 MB / 1.336 GB, free: 2.414 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.83e-05/0.8614, allocations: 43.05 kB / 1.336 GB, free: 2.375 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003028/0.8617, allocations: 405.5 kB / 1.337 GB, free: 2.059 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/0.8619, allocations: 270.1 kB / 1.337 GB, free: 1.844 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/0.8621, allocations: 147.5 kB / 1.337 GB, free: 1.777 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.8623, allocations: 389.7 kB / 1.337 GB, free: 1.43 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004631/0.8628, allocations: 246.9 kB / 1.338 GB, free: 1.344 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005802/0.8634, allocations: 367.3 kB / 1.338 GB, free: 1.152 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.8644, allocations: 0.5843 MB / 1.339 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8644, allocations: 0 / 1.339 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001739/0.8662, allocations: 0.8024 MB / 1.339 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.8662, allocations: 5.312 kB / 1.339 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-06/0.8662, allocations: 1.531 kB / 1.339 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005559/0.8668, allocations: 93.34 kB / 1.339 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005554/0.8673, allocations: 146.4 kB / 1.34 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.8694, allocations: 1.629 MB / 1.341 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005781/0.87, allocations: 102.1 kB / 1.341 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-05/0.8701, allocations: 32 kB / 1.341 GB, free: 14.92 MB / 1.029 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.000342/0.8704, allocations: 269.6 kB / 1.342 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.8706, allocations: 87.97 kB / 1.342 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/0.8728, allocations: 1.055 MB / 1.343 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.8728, allocations: 9.25 kB / 1.343 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.8728, allocations: 0 / 1.343 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.8728, allocations: 11.94 kB / 1.343 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000936/0.8738, allocations: 0.8875 MB / 1.344 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.8738, allocations: 5.875 kB / 1.344 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000529/0.8743, allocations: 143.6 kB / 1.344 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003998/0.8747, allocations: 71.41 kB / 1.344 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.493e-05/0.8748, allocations: 29.2 kB / 1.344 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.8767, allocations: 1.666 MB / 1.345 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.8767, allocations: 0.7812 kB / 1.345 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.8786, allocations: 0.9308 MB / 1.346 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00032/0.8789, allocations: 276.9 kB / 1.347 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.879, allocations: 18.12 kB / 1.347 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005803/0.8796, allocations: 63.58 kB / 1.347 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.8797, allocations: 67.09 kB / 1.347 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.79e-05/0.8798, allocations: 37.89 kB / 1.347 GB, free: 11.51 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005046/0.8803, allocations: 466.3 kB / 1.347 GB, free: 11.3 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8803, allocations: 0 / 1.347 GB, free: 11.3 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007338/0.8811, allocations: 317 kB / 1.348 GB, free: 11.22 MB / 1.029 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.003793/0.8849, allocations: 1.976 MB / 1.349 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001483/0.8864, allocations: 0.8074 MB / 1.35 GB, free: 9.785 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8864, allocations: 0 / 1.35 GB, free: 9.785 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008838/0.8873, allocations: 0.5082 MB / 1.351 GB, free: 9.547 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.8884, allocations: 310.9 kB / 1.351 GB, free: 9.445 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008921/0.8973, allocations: 6.164 MB / 1.357 GB, free: 6.32 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005769/0.8979, allocations: 1.015 MB / 1.358 GB, free: 5.598 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006821/0.8986, allocations: 263.5 kB / 1.358 GB, free: 5.512 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000511/0.8991, allocations: 378.7 kB / 1.359 GB, free: 5.211 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.8991, allocations: 2.656 kB / 1.359 GB, free: 5.211 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.763/2.662, allocations: 21.5 MB / 1.38 GB, free: 9.855 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.4/18.06, allocations: 14 kB / 1.38 GB, free: 9.848 MB / 1.045 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=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)