Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.004307/0.004307, allocations: 100.5 kB / 15.87 MB, free: 6.293 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.001124/0.001124, allocations: 197.5 kB / 16.79 MB, free: 6.223 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.187/1.187, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6209/0.6209, allocations: 115.3 MB / 406 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 72.94 kB / 493 MB, free: 6.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1109, allocations: 76.18 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007787/0.1188, allocations: 8.326 MB / 0.564 GB, free: 2.359 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3211/0.4398, allocations: 149.5 MB / 0.71 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.441, allocations: 31.88 kB / 0.71 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008725/0.4419, allocations: 237.7 kB / 0.7102 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00214/0.4441, allocations: 0.7246 MB / 0.7109 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002321/0.4464, allocations: 1.229 MB / 0.7121 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002561/0.449, allocations: 2.779 MB / 0.7148 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/0.4505, allocations: 1.436 MB / 0.7162 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009866/0.4515, allocations: 1.02 MB / 0.7172 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.4525, allocations: 1.229 MB / 0.7184 GB, free: 172 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002405/0.4528, allocations: 156 kB / 0.7186 GB, free: 16 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008386/0.4536, allocations: 0.5152 MB / 0.7191 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003999/0.454, allocations: 0.537 MB / 0.7196 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008353/0.4549, allocations: 1.173 MB / 0.7208 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002337/0.4572, allocations: 3.461 MB / 0.7241 GB, free: 10.32 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.4572, allocations: 0 / 0.7241 GB, free: 10.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.52e-07/0.4572, allocations: 0 / 0.7241 GB, free: 10.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.4573, allocations: 0 / 0.7241 GB, free: 10.32 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.00506/0.4623, allocations: 2.835 MB / 0.7269 GB, free: 7.398 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.4624, allocations: 12.03 kB / 0.7269 GB, free: 7.387 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003145/0.4627, allocations: 308.9 kB / 0.7272 GB, free: 7.074 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01475/0.4774, allocations: 2.112 MB / 0.7293 GB, free: 4.957 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.479, allocations: 1.271 MB / 0.7305 GB, free: 3.641 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.4791, allocations: 168.5 kB / 0.7307 GB, free: 3.473 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003171/0.4795, allocations: 216 kB / 0.7309 GB, free: 3.262 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007309/0.4868, allocations: 3.282 MB / 0.7341 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.4868, allocations: 4 kB / 0.7341 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002392/0.4871, allocations: 92 kB / 0.7342 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.712e-05/0.4871, allocations: 56 kB / 0.7342 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01094/0.4981, allocations: 4.201 MB / 0.7383 GB, free: 11.52 MB / 0.5606 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.01298/0.511, allocations: 8.103 MB / 0.7463 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007799/0.5189, allocations: 2.872 MB / 0.7491 GB, free: 272 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003798/0.5227, allocations: 1.497 MB / 0.7505 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006441/0.5233, allocations: 0.5074 MB / 0.751 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004369/0.5277, allocations: 1.84 MB / 0.7528 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=213): time 3.055e-06/0.5277, allocations: 0 / 0.7528 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=213): time 0.01298/0.5407, allocations: 4.474 MB / 0.7572 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.588e-05/0.5408, allocations: 205.9 kB / 0.7574 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009895/0.5418, allocations: 0.9412 MB / 0.7583 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001664/0.542, allocations: 73.69 kB / 0.7584 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004384/0.5424, allocations: 0.7465 MB / 0.7591 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000492/0.5429, allocations: 0.6776 MB / 0.7598 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006589/0.5436, allocations: 375.2 kB / 0.7601 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.558e-05/0.5436, allocations: 301.1 kB / 0.7604 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003708/0.5474, allocations: 1.237 MB / 0.7616 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003874/0.5512, allocations: 1.444 MB / 0.763 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007491/0.5587, allocations: 2.583 MB / 0.7655 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.5588, allocations: 0 / 0.7655 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.00874/0.5675, allocations: 3.077 MB / 0.7685 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.5675, allocations: 7.984 kB / 0.7686 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.5675, allocations: 0 / 0.7686 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005433/0.5681, allocations: 88.84 kB / 0.7686 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003324/0.5714, allocations: 0.5928 MB / 0.7692 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/0.5732, allocations: 1.53 MB / 0.7707 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/0.5759, allocations: 382.5 kB / 0.7711 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001994/0.5761, allocations: 95.89 kB / 0.7712 GB, free: 9.184 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 230 * 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.0007174/0.5768, allocations: 431.6 kB / 0.7716 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003494/0.5772, allocations: 162.1 kB / 0.7717 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01028/0.5874, allocations: 3.71 MB / 0.7754 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/0.5875, allocations: 27.92 kB / 0.7754 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5875, allocations: 0 / 0.7754 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/0.5875, allocations: 11.97 kB / 0.7754 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/0.59, allocations: 2.464 MB / 0.7778 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.59, allocations: 8 kB / 0.7778 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003285/0.5933, allocations: 0.5578 MB / 0.7784 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004562/0.5937, allocations: 88.7 kB / 0.7784 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001861/0.5939, allocations: 75.91 kB / 0.7785 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/0.5955, allocations: 1.548 MB / 0.78 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5955, allocations: 4 kB / 0.78 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008652/0.6042, allocations: 3.214 MB / 0.7832 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007132/0.6049, allocations: 0.5451 MB / 0.7837 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003013/0.6052, allocations: 51.84 kB / 0.7837 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00257/0.6078, allocations: 286 kB / 0.784 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002671/0.6081, allocations: 149.8 kB / 0.7842 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002096/0.6083, allocations: 91.91 kB / 0.7843 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007736/0.6091, allocations: 0.6997 MB / 0.7849 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6091, allocations: 0 / 0.7849 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001321/0.6104, allocations: 0.67 MB / 0.7856 GB, free: 10.14 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.01006/0.6205, allocations: 4.337 MB / 0.7898 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.007983/0.6285, allocations: 3.124 MB / 0.7929 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6285, allocations: 0 / 0.7929 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004217/0.6327, allocations: 1.755 MB / 0.7946 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.6341, allocations: 375.5 kB / 0.7949 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03511/0.6692, allocations: 17.65 MB / 0.8122 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008274/0.67, allocations: 1.431 MB / 0.8136 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00287/0.6729, allocations: 0.5796 MB / 0.8142 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00151/0.6744, allocations: 0.8779 MB / 0.815 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of SimCode: time 2.5e-07/0.6744, allocations: 0 / 0.815 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.822/3.497, allocations: 40.9 MB / 0.8549 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/3.497, allocations: 307.5 kB / 0.8552 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.592/6.088, allocations: 0 / 0.8552 GB, free: 219.1 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)