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.00082/0.00082, allocations: 93.58 kB / 16.02 MB, free: 84 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.0008572/0.0008571, allocations: 173.2 kB / 16.91 MB, free: 6.684 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.194/1.194, allocations: 223.3 MB / 241 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6215/0.6215, allocations: 115.5 MB / 407.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002636/0.0002636, allocations: 9.875 kB / 495.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1173, allocations: 77.53 MB / 0.56 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007685/0.125, allocations: 7.813 MB / 0.5677 GB, free: 1.074 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3529/0.478, allocations: 147.9 MB / 0.7121 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/0.4793, allocations: 19.94 kB / 0.7121 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009385/0.4802, allocations: 238 kB / 0.7123 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002616/0.4829, allocations: 0.7332 MB / 0.7131 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002549/0.4854, allocations: 1.221 MB / 0.7143 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003065/0.4885, allocations: 2.783 MB / 0.717 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001973/0.4905, allocations: 1.41 MB / 0.7183 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.4917, allocations: 0.8049 MB / 0.7191 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.4931, allocations: 0.9793 MB / 0.7201 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003647/0.4935, allocations: 64 kB / 0.7201 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000905/0.4944, allocations: 427.7 kB / 0.7206 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003494/0.4948, allocations: 398 kB / 0.7209 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008639/0.4956, allocations: 1.019 MB / 0.7219 GB, free: 300 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002527/0.4982, allocations: 3.309 MB / 0.7252 GB, free: 12.97 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4982, allocations: 4 kB / 0.7252 GB, free: 12.97 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4982, allocations: 4 kB / 0.7252 GB, free: 12.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.941e-05/0.4982, allocations: 0 / 0.7252 GB, free: 12.96 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.004752/0.503, allocations: 2.328 MB / 0.7274 GB, free: 10.55 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.503, allocations: 8.031 kB / 0.7275 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003522/0.5034, allocations: 316.8 kB / 0.7278 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01517/0.5185, allocations: 2.304 MB / 0.73 GB, free: 7.918 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/0.5202, allocations: 1.263 MB / 0.7312 GB, free: 6.609 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.5203, allocations: 164.5 kB / 0.7314 GB, free: 6.445 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003588/0.5207, allocations: 220 kB / 0.7316 GB, free: 6.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007736/0.5284, allocations: 3.352 MB / 0.7349 GB, free: 2.785 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/0.5285, allocations: 4 kB / 0.7349 GB, free: 2.781 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002581/0.5288, allocations: 99.98 kB / 0.735 GB, free: 2.684 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.541e-05/0.5288, allocations: 52 kB / 0.735 GB, free: 2.633 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01199/0.5408, allocations: 4.346 MB / 0.7393 GB, free: 14.27 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.0138/0.5546, allocations: 8.148 MB / 0.7472 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008531/0.5631, allocations: 2.903 MB / 0.7501 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004168/0.5673, allocations: 1.505 MB / 0.7515 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006647/0.568, allocations: 0.5035 MB / 0.752 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004674/0.5727, allocations: 1.859 MB / 0.7538 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=213): time 5.2e-06/0.5727, allocations: 4.031 kB / 0.7538 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=213): time 0.01406/0.5868, allocations: 4.517 MB / 0.7583 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.5869, allocations: 205.9 kB / 0.7584 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.5881, allocations: 0.9413 MB / 0.7594 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001848/0.5883, allocations: 69.69 kB / 0.7594 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005158/0.5888, allocations: 0.7465 MB / 0.7602 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005458/0.5894, allocations: 0.6737 MB / 0.7608 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002655/0.5896, allocations: 141.6 kB / 0.761 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.5898, allocations: 309 kB / 0.7613 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004015/0.5938, allocations: 1.249 MB / 0.7625 GB, free: 6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004169/0.598, allocations: 1.456 MB / 0.7639 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00802/0.606, allocations: 2.606 MB / 0.7664 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.606, allocations: 3.938 kB / 0.7664 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.009315/0.6153, allocations: 3.101 MB / 0.7695 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.6154, allocations: 4 kB / 0.7695 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.6154, allocations: 4 kB / 0.7695 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005663/0.6159, allocations: 84.84 kB / 0.7696 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003465/0.6194, allocations: 0.6045 MB / 0.7701 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/0.6213, allocations: 1.545 MB / 0.7717 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002881/0.6242, allocations: 397.6 kB / 0.772 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001902/0.6244, allocations: 99.89 kB / 0.7721 GB, free: 11.9 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.0008295/0.6252, allocations: 431.7 kB / 0.7725 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/0.6255, allocations: 158 kB / 0.7727 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0109/0.6364, allocations: 3.739 MB / 0.7763 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/0.6364, allocations: 27.94 kB / 0.7764 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6365, allocations: 0 / 0.7764 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.955e-05/0.6365, allocations: 11.95 kB / 0.7764 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002608/0.6391, allocations: 2.46 MB / 0.7788 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.6391, allocations: 0 / 0.7788 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003306/0.6424, allocations: 0.5694 MB / 0.7793 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004932/0.6429, allocations: 88.78 kB / 0.7794 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001681/0.6431, allocations: 75.91 kB / 0.7795 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/0.6447, allocations: 1.548 MB / 0.781 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.6447, allocations: 5.391 kB / 0.781 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009262/0.654, allocations: 3.246 MB / 0.7842 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007916/0.6548, allocations: 0.5723 MB / 0.7847 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00027/0.6551, allocations: 47.94 kB / 0.7848 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00281/0.6579, allocations: 307.7 kB / 0.7851 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000256/0.6582, allocations: 149.8 kB / 0.7852 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002025/0.6584, allocations: 95.91 kB / 0.7853 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008379/0.6592, allocations: 0.6958 MB / 0.786 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6592, allocations: 0 / 0.786 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001443/0.6607, allocations: 0.6777 MB / 0.7867 GB, free: 12.75 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.01094/0.6716, allocations: 4.355 MB / 0.7909 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.009073/0.6807, allocations: 3.155 MB / 0.794 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6808, allocations: 0 / 0.794 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004667/0.6854, allocations: 1.779 MB / 0.7957 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/0.6872, allocations: 357.1 kB / 0.7961 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03826/0.7254, allocations: 17.75 MB / 0.8134 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009654/0.7264, allocations: 1.439 MB / 0.8148 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002977/0.7294, allocations: 0.5718 MB / 0.8154 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001534/0.731, allocations: 0.874 MB / 0.8162 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of SimCode: time 6.01e-07/0.731, allocations: 0 / 0.8162 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.788/2.519, allocations: 40.37 MB / 0.8557 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/2.52, allocations: 301.8 kB / 0.8559 GB, free: 218.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.669/5.189, allocations: 0 / 0.8559 GB, free: 218.8 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)