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.001286/0.001286, allocations: 107 kB / 16.4 MB, free: 6.438 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.001308/0.001308, allocations: 193.2 kB / 17.34 MB, free: 5.707 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7261/0.7261, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 66.42 kB / 0.5572 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1503, allocations: 76.18 MB / 0.6316 GB, free: 4.934 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.009868/0.1602, allocations: 8.383 MB / 0.6397 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5794/0.7396, allocations: 151.8 MB / 0.788 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002116/0.7418, allocations: 20.72 kB / 0.7881 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.7432, allocations: 331.5 kB / 0.7884 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003713/0.7469, allocations: 0.8472 MB / 0.7892 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003559/0.7505, allocations: 1.396 MB / 0.7906 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004667/0.7552, allocations: 2.994 MB / 0.7935 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002382/0.7576, allocations: 1.489 MB / 0.7949 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00238/0.76, allocations: 1.201 MB / 0.7961 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002334/0.7623, allocations: 1.348 MB / 0.7974 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0009058/0.7633, allocations: 330.6 kB / 0.7977 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001921/0.7652, allocations: 0.7047 MB / 0.7984 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007535/0.766, allocations: 0.6893 MB / 0.7991 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001888/0.7679, allocations: 1.34 MB / 0.8004 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004725/0.7726, allocations: 3.673 MB / 0.804 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.7727, allocations: 0 / 0.804 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.625e-06/0.7727, allocations: 0.5625 kB / 0.804 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001119/0.7728, allocations: 0 / 0.804 GB, free: 10.8 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.008199/0.781, allocations: 2.836 MB / 0.8068 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/0.7811, allocations: 9.531 kB / 0.8068 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000487/0.7816, allocations: 317.1 kB / 0.8071 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01586/0.7974, allocations: 2.11 MB / 0.8091 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003135/0.8006, allocations: 1.291 MB / 0.8104 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/0.8008, allocations: 173.3 kB / 0.8106 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006967/0.8015, allocations: 218 kB / 0.8108 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01047/0.812, allocations: 3.28 MB / 0.814 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.963e-05/0.8121, allocations: 0 / 0.814 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003397/0.8124, allocations: 98.42 kB / 0.8141 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.361e-05/0.8125, allocations: 52.91 kB / 0.8141 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01462/0.8271, allocations: 4.212 MB / 0.8182 GB, free: 2.539 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.02017/0.8473, allocations: 8.024 MB / 0.8261 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01025/0.8576, allocations: 2.88 MB / 0.8289 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005138/0.8628, allocations: 1.495 MB / 0.8303 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009263/0.8638, allocations: 0.5065 MB / 0.8308 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006345/0.8702, allocations: 1.843 MB / 0.8326 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=213): time 6.782e-06/0.8702, allocations: 0 / 0.8326 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=213): time 0.01911/0.8893, allocations: 4.474 MB / 0.837 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/0.8895, allocations: 205.9 kB / 0.8372 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001826/0.8914, allocations: 0.9412 MB / 0.8381 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0005847/0.892, allocations: 69.7 kB / 0.8382 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007654/0.8927, allocations: 0.7535 MB / 0.8389 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001136/0.8939, allocations: 0.6794 MB / 0.8396 GB, free: 76 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001526/0.8954, allocations: 375.2 kB / 0.8399 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.8956, allocations: 301.1 kB / 0.8402 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004847/0.9004, allocations: 1.241 MB / 0.8414 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005276/0.9057, allocations: 1.433 MB / 0.8428 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/0.916, allocations: 2.583 MB / 0.8454 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.467e-05/0.916, allocations: 7.938 kB / 0.8454 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.01322/0.9292, allocations: 3.077 MB / 0.8484 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/0.9293, allocations: 4 kB / 0.8484 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.9293, allocations: 4 kB / 0.8484 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006593/0.93, allocations: 88.83 kB / 0.8485 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004314/0.9343, allocations: 0.585 MB / 0.849 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002502/0.9369, allocations: 1.635 MB / 0.8506 GB, free: 4.535 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003795/0.9407, allocations: 370.1 kB / 0.851 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006789/0.9414, allocations: 99.83 kB / 0.8511 GB, free: 4.074 MB / 0.6231 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.0021/0.9435, allocations: 427.7 kB / 0.8515 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009468/0.9445, allocations: 158.1 kB / 0.8516 GB, free: 3.492 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01544/0.96, allocations: 3.715 MB / 0.8553 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-05/0.96, allocations: 20 kB / 0.8553 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.557e-05/0.9601, allocations: 3.984 kB / 0.8553 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.909e-05/0.9601, allocations: 7.969 kB / 0.8553 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005116/0.9653, allocations: 2.456 MB / 0.8577 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.18e-05/0.9653, allocations: 0 / 0.8577 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00412/0.9695, allocations: 0.5616 MB / 0.8583 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005636/0.9701, allocations: 86.12 kB / 0.8583 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006357/0.9707, allocations: 75.91 kB / 0.8584 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.9729, allocations: 1.658 MB / 0.86 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.9729, allocations: 4 kB / 0.86 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01273/0.9856, allocations: 3.212 MB / 0.8632 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001717/0.9874, allocations: 0.5452 MB / 0.8637 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007536/0.9882, allocations: 55.78 kB / 0.8638 GB, free: 6.898 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003434/0.9916, allocations: 273.4 kB / 0.864 GB, free: 6.633 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000537/0.9922, allocations: 149.8 kB / 0.8642 GB, free: 6.488 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004586/0.9927, allocations: 91.91 kB / 0.8642 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00135/0.994, allocations: 0.6997 MB / 0.8649 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.4e-07/0.994, allocations: 0 / 0.8649 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002674/0.9967, allocations: 0.6699 MB / 0.8656 GB, free: 5.02 MB / 0.6387 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.01485/1.012, allocations: 4.333 MB / 0.8698 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0121/1.024, allocations: 3.131 MB / 0.8729 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/1.024, allocations: 4.25 kB / 0.8729 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006522/1.03, allocations: 1.751 MB / 0.8746 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003262/1.034, allocations: 394 kB / 0.875 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05042/1.084, allocations: 15.84 MB / 0.8904 GB, free: 11.55 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001613/1.086, allocations: 1.426 MB / 0.8918 GB, free: 10.08 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004196/1.09, allocations: 0.5795 MB / 0.8924 GB, free: 9.496 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002421/1.092, allocations: 0.8818 MB / 0.8932 GB, free: 8.613 MB / 0.67 GB Notification: Performance of SimCode: time 8.91e-07/1.092, allocations: 0 / 0.8932 GB, free: 8.613 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09466/1.187, allocations: 43.76 MB / 0.936 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.5/16.69, allocations: 14.45 kB / 0.936 GB, free: 13.18 MB / 0.7169 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)