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.001203/0.001203, allocations: 100.1 kB / 15.88 MB, free: 12 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.001168/0.001168, allocations: 204.9 kB / 16.79 MB, free: 6.84 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.201/1.201, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6143/0.6143, allocations: 115.3 MB / 406 MB, free: 2.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 65.59 kB / 493 MB, free: 6.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1137, allocations: 76.18 MB / 0.5558 GB, free: 10.78 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006153/0.1199, allocations: 5.928 MB / 0.5616 GB, free: 4.824 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.32/0.4399, allocations: 148.5 MB / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000792/0.4407, allocations: 15.94 kB / 0.7067 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006608/0.4414, allocations: 178.3 kB / 0.7069 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.443, allocations: 0.5269 MB / 0.7074 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.4447, allocations: 0.7667 MB / 0.7081 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001484/0.4462, allocations: 1.537 MB / 0.7096 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.4472, allocations: 0.8463 MB / 0.7104 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006768/0.4479, allocations: 0.5408 MB / 0.711 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006882/0.4486, allocations: 0.6203 MB / 0.7116 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.4488, allocations: 88 kB / 0.7117 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007499/0.4495, allocations: 432.7 kB / 0.7121 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.4498, allocations: 306.8 kB / 0.7124 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005973/0.4504, allocations: 0.6799 MB / 0.713 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.452, allocations: 1.926 MB / 0.7149 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.4521, allocations: 0 / 0.7149 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.02e-07/0.4521, allocations: 0 / 0.7149 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.738e-05/0.4521, allocations: 8 kB / 0.7149 GB, free: 3.941 MB / 0.5294 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.002765/0.4549, allocations: 1.714 MB / 0.7166 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.4549, allocations: 8.031 kB / 0.7166 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001795/0.4551, allocations: 177.8 kB / 0.7168 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008832/0.456, allocations: 227 kB / 0.717 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.4571, allocations: 0.8406 MB / 0.7178 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.207e-05/0.4572, allocations: 94.39 kB / 0.7179 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.4573, allocations: 116.8 kB / 0.718 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.4592, allocations: 1.198 MB / 0.7192 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.4592, allocations: 3.938 kB / 0.7192 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.432e-05/0.4593, allocations: 52 kB / 0.7192 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.4593, allocations: 28 kB / 0.7193 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001951/0.4613, allocations: 1.289 MB / 0.7205 GB, free: 14.02 MB / 0.545 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.004522/0.4658, allocations: 3.577 MB / 0.724 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.4673, allocations: 0.8769 MB / 0.7249 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005619/0.4679, allocations: 318.7 kB / 0.7252 GB, free: 9.07 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.4e-05/0.4679, allocations: 44.58 kB / 0.7252 GB, free: 9.027 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008798/0.4688, allocations: 0.512 MB / 0.7257 GB, free: 8.496 MB / 0.545 GB Notification: Performance of pre-optimization done (n=87): time 1.854e-06/0.4688, allocations: 0 / 0.7257 GB, free: 8.496 MB / 0.545 GB Notification: Performance of matching and sorting (n=87): time 0.003109/0.472, allocations: 1.278 MB / 0.727 GB, free: 7.195 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.4721, allocations: 188.9 kB / 0.7271 GB, free: 6.969 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008878/0.473, allocations: 0.7392 MB / 0.7279 GB, free: 6.223 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.816e-05/0.473, allocations: 49.45 kB / 0.7279 GB, free: 6.172 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.4734, allocations: 0.5154 MB / 0.7284 GB, free: 5.648 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.4736, allocations: 276 kB / 0.7287 GB, free: 5.375 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/0.4738, allocations: 162.5 kB / 0.7288 GB, free: 5.207 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.4739, allocations: 341.9 kB / 0.7292 GB, free: 4.867 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005331/0.4745, allocations: 265.9 kB / 0.7294 GB, free: 4.609 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005902/0.475, allocations: 390.5 kB / 0.7298 GB, free: 4.203 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.4762, allocations: 0.6359 MB / 0.7304 GB, free: 3.555 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.4762, allocations: 0 / 0.7304 GB, free: 3.555 MB / 0.545 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001835/0.478, allocations: 0.876 MB / 0.7313 GB, free: 2.668 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.4781, allocations: 4 kB / 0.7313 GB, free: 2.664 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.4781, allocations: 3.75 kB / 0.7313 GB, free: 2.664 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005601/0.4786, allocations: 88.8 kB / 0.7314 GB, free: 2.574 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006406/0.4793, allocations: 163.7 kB / 0.7315 GB, free: 2.414 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/0.4811, allocations: 1.528 MB / 0.733 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006892/0.4818, allocations: 99.28 kB / 0.7331 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.147e-05/0.4819, allocations: 35.98 kB / 0.7331 GB, free: 0.6133 MB / 0.545 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.0003653/0.4823, allocations: 298.4 kB / 0.7334 GB, free: 320 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.4824, allocations: 102.7 kB / 0.7335 GB, free: 216 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/0.4848, allocations: 1.123 MB / 0.7346 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.4849, allocations: 8 kB / 0.7346 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.4849, allocations: 4 kB / 0.7346 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.4849, allocations: 7.969 kB / 0.7346 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.486, allocations: 1.052 MB / 0.7357 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.486, allocations: 0 / 0.7357 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006029/0.4866, allocations: 159.8 kB / 0.7358 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005045/0.4871, allocations: 84.77 kB / 0.7359 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.702e-05/0.4872, allocations: 23.98 kB / 0.7359 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/0.4889, allocations: 1.552 MB / 0.7374 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4889, allocations: 0 / 0.7374 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.4908, allocations: 0.9824 MB / 0.7384 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003208/0.4911, allocations: 295.5 kB / 0.7387 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.4912, allocations: 20.94 kB / 0.7387 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006206/0.4919, allocations: 67.92 kB / 0.7388 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.492, allocations: 72.83 kB / 0.7388 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.699e-05/0.4921, allocations: 35.98 kB / 0.7389 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006482/0.4927, allocations: 0.5224 MB / 0.7394 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4928, allocations: 0 / 0.7394 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007506/0.4935, allocations: 382.8 kB / 0.7397 GB, free: 9.602 MB / 0.5606 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.003373/0.4969, allocations: 2.038 MB / 0.7417 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001526/0.4984, allocations: 0.8551 MB / 0.7426 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4984, allocations: 0 / 0.7426 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008907/0.4993, allocations: 0.5433 MB / 0.7431 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.5004, allocations: 298.4 kB / 0.7434 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/0.5119, allocations: 7.895 MB / 0.7511 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005975/0.5125, allocations: 1.106 MB / 0.7522 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008164/0.5133, allocations: 295.5 kB / 0.7524 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005915/0.5139, allocations: 491.2 kB / 0.7529 GB, free: 12 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.5139, allocations: 0 / 0.7529 GB, free: 12 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8544/1.368, allocations: 23.01 MB / 0.7754 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002907/1.369, allocations: 314.7 kB / 0.7757 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.128/3.497, allocations: 0 / 0.7757 GB, free: 5.027 MB / 0.5919 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)