Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_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.001167/0.001167, allocations: 102 kB / 16.4 MB, free: 6.453 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.001142/0.001142, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.195/1.195, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6512/0.6512, allocations: 115.3 MB / 406.5 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 68.41 kB / 0.5572 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1228, allocations: 76.17 MB / 0.6315 GB, free: 4.957 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007314/0.1301, allocations: 5.952 MB / 0.6374 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4198/0.55, allocations: 150.8 MB / 0.7847 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007334/0.5508, allocations: 17.25 kB / 0.7847 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005621/0.5514, allocations: 240.2 kB / 0.7849 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001415/0.5528, allocations: 0.6241 MB / 0.7855 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.5544, allocations: 0.8648 MB / 0.7864 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001171/0.5556, allocations: 1.663 MB / 0.788 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009461/0.5565, allocations: 0.8661 MB / 0.7888 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006362/0.5572, allocations: 0.6124 MB / 0.7894 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005959/0.5578, allocations: 0.6643 MB / 0.7901 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001743/0.5579, allocations: 155.4 kB / 0.7902 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00075/0.5587, allocations: 0.5141 MB / 0.7907 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002315/0.5589, allocations: 376.3 kB / 0.7911 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004722/0.5594, allocations: 0.736 MB / 0.7918 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.5609, allocations: 2.037 MB / 0.7938 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5609, allocations: 0 / 0.7938 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5609, allocations: 0 / 0.7938 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.687e-05/0.561, allocations: 0 / 0.7938 GB, free: 12.43 MB / 0.5919 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.002552/0.5635, allocations: 1.718 MB / 0.7955 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.5636, allocations: 10.62 kB / 0.7955 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000201/0.5638, allocations: 182.4 kB / 0.7957 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008754/0.5647, allocations: 223.5 kB / 0.7959 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.5658, allocations: 0.869 MB / 0.7967 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.025e-05/0.5659, allocations: 90.25 kB / 0.7968 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.566, allocations: 115.2 kB / 0.7969 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.5678, allocations: 1.217 MB / 0.7981 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.5678, allocations: 0 / 0.7981 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.5679, allocations: 56 kB / 0.7982 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/0.5679, allocations: 30.28 kB / 0.7982 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001832/0.5698, allocations: 1.282 MB / 0.7994 GB, free: 10.8 MB / 0.5919 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.004358/0.5741, allocations: 3.532 MB / 0.8029 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/0.5754, allocations: 0.8676 MB / 0.8037 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004533/0.5759, allocations: 324.7 kB / 0.804 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.858e-05/0.576, allocations: 29.84 kB / 0.8041 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007638/0.5767, allocations: 0.5252 MB / 0.8046 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=87): time 1.813e-06/0.5767, allocations: 0 / 0.8046 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87): time 0.003049/0.5798, allocations: 1.282 MB / 0.8058 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.5799, allocations: 192.7 kB / 0.806 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009552/0.5809, allocations: 0.7341 MB / 0.8067 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.467e-05/0.581, allocations: 45.09 kB / 0.8068 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004334/0.5814, allocations: 0.5205 MB / 0.8073 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002299/0.5817, allocations: 282 kB / 0.8076 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/0.5819, allocations: 154.8 kB / 0.8077 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.5821, allocations: 339.6 kB / 0.808 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000486/0.5826, allocations: 266.1 kB / 0.8083 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005948/0.5832, allocations: 397.1 kB / 0.8087 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.5842, allocations: 0.6395 MB / 0.8093 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5842, allocations: 0 / 0.8093 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001818/0.5861, allocations: 0.868 MB / 0.8101 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.5861, allocations: 6.219 kB / 0.8101 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.5861, allocations: 0 / 0.8101 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006054/0.5867, allocations: 95.02 kB / 0.8102 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006204/0.5873, allocations: 163.4 kB / 0.8104 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/0.5893, allocations: 1.628 MB / 0.812 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006433/0.5899, allocations: 92.39 kB / 0.8121 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/0.59, allocations: 31.69 kB / 0.8121 GB, free: 3.906 MB / 0.5919 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.0003927/0.5904, allocations: 306.9 kB / 0.8124 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.5905, allocations: 96.16 kB / 0.8125 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/0.5927, allocations: 1.122 MB / 0.8136 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.5927, allocations: 13.72 kB / 0.8136 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.5928, allocations: 0 / 0.8136 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.5928, allocations: 3.984 kB / 0.8136 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.5938, allocations: 1.059 MB / 0.8146 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5938, allocations: 0 / 0.8146 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005728/0.5944, allocations: 156.5 kB / 0.8148 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004073/0.5948, allocations: 75.09 kB / 0.8148 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.394e-05/0.5949, allocations: 25.52 kB / 0.8149 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/0.5965, allocations: 1.67 MB / 0.8165 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5966, allocations: 0 / 0.8165 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.5983, allocations: 0.9854 MB / 0.8175 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003203/0.5987, allocations: 285.8 kB / 0.8177 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.5988, allocations: 21.22 kB / 0.8178 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005935/0.5994, allocations: 72.27 kB / 0.8178 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.5995, allocations: 76.12 kB / 0.8179 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.154e-05/0.5996, allocations: 34.16 kB / 0.8179 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005507/0.6002, allocations: 0.5188 MB / 0.8184 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6002, allocations: 0 / 0.8184 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007794/0.6009, allocations: 381.8 kB / 0.8188 GB, free: 15.21 MB / 0.6075 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.003159/0.6041, allocations: 2.043 MB / 0.8208 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001481/0.6056, allocations: 0.8566 MB / 0.8216 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.6056, allocations: 0 / 0.8216 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008616/0.6065, allocations: 0.5479 MB / 0.8222 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.6076, allocations: 338 kB / 0.8225 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.6179, allocations: 7.018 MB / 0.8293 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000771/0.6187, allocations: 1.11 MB / 0.8304 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008877/0.6196, allocations: 287.6 kB / 0.8307 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006317/0.6203, allocations: 486.3 kB / 0.8312 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.6203, allocations: 0 / 0.8312 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04908/0.6694, allocations: 24.59 MB / 0.8552 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.26, allocations: 9.859 kB / 0.8552 GB, free: 14.41 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)