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.0009086/0.0009086, allocations: 96.27 kB / 15.69 MB, free: 480 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.0009595/0.0009593, allocations: 176.3 kB / 16.57 MB, free: 6.398 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.272/1.272, allocations: 223.2 MB / 240.5 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6677/0.6677, allocations: 113.7 MB / 405.3 MB, free: 4.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002914, allocations: 8 kB / 493 MB, free: 8.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1452, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004854/0.1501, allocations: 3.971 MB / 0.5606 GB, free: 7.719 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4226/0.5727, allocations: 127.7 MB / 0.6853 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007422/0.5736, allocations: 15.94 kB / 0.6853 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003748/0.5739, allocations: 91.12 kB / 0.6854 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001344/0.5753, allocations: 0.5111 MB / 0.6859 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.5768, allocations: 0.6416 MB / 0.6865 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001034/0.5778, allocations: 0.8878 MB / 0.6874 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007693/0.5786, allocations: 0.6911 MB / 0.688 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004216/0.579, allocations: 386.1 kB / 0.6884 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003898/0.5794, allocations: 393.7 kB / 0.6888 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.446e-05/0.5795, allocations: 28 kB / 0.6888 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006046/0.5801, allocations: 315.6 kB / 0.6891 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.5803, allocations: 207 kB / 0.6893 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.5805, allocations: 237 kB / 0.6895 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.5817, allocations: 1.412 MB / 0.6909 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.5817, allocations: 0 / 0.6909 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5817, allocations: 4 kB / 0.6909 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.65e-05/0.5817, allocations: 7.938 kB / 0.6909 GB, free: 0.5273 MB / 0.4981 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.002368/0.5841, allocations: 1.425 MB / 0.6923 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.5841, allocations: 8.031 kB / 0.6923 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002306/0.5844, allocations: 181.6 kB / 0.6925 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009613/0.5853, allocations: 238 kB / 0.6927 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.5865, allocations: 0.817 MB / 0.6935 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.958e-05/0.5865, allocations: 86.41 kB / 0.6936 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.5867, allocations: 112.9 kB / 0.6937 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.5884, allocations: 1.194 MB / 0.6949 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.5884, allocations: 3.984 kB / 0.6949 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.242e-05/0.5885, allocations: 52 kB / 0.6949 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/0.5886, allocations: 28 kB / 0.6949 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001896/0.5905, allocations: 1.281 MB / 0.6962 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004624/0.5951, allocations: 3.191 MB / 0.6993 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/0.597, allocations: 0.8727 MB / 0.7002 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.517e-05/0.5971, allocations: 32.61 kB / 0.7002 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008517/0.5979, allocations: 0.5158 MB / 0.7007 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=87): time 2.284e-06/0.598, allocations: 4 kB / 0.7007 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of matching and sorting (n=87): time 0.003019/0.601, allocations: 1.277 MB / 0.702 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/0.6011, allocations: 200.9 kB / 0.7021 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008703/0.602, allocations: 0.7236 MB / 0.7029 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.982e-05/0.6021, allocations: 41.7 kB / 0.7029 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003753/0.6025, allocations: 0.5192 MB / 0.7034 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.6027, allocations: 283.9 kB / 0.7037 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.6027, allocations: 16 kB / 0.7037 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.6028, allocations: 341.9 kB / 0.704 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004829/0.6033, allocations: 266 kB / 0.7043 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005559/0.6039, allocations: 386.5 kB / 0.7046 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005445/0.6044, allocations: 326.9 kB / 0.7049 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.6044, allocations: 0 / 0.7049 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001792/0.6062, allocations: 0.8682 MB / 0.7058 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.6063, allocations: 4 kB / 0.7058 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.6063, allocations: 0 / 0.7058 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005545/0.6068, allocations: 88.81 kB / 0.7059 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006588/0.6075, allocations: 167.7 kB / 0.706 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/0.6094, allocations: 1.528 MB / 0.7075 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007063/0.6102, allocations: 111.8 kB / 0.7076 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.243e-05/0.6102, allocations: 31.97 kB / 0.7077 GB, free: 14.81 MB / 0.5294 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004977/0.6107, allocations: 290.3 kB / 0.7079 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.6109, allocations: 94.88 kB / 0.708 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/0.6132, allocations: 1.138 MB / 0.7091 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.6133, allocations: 20 kB / 0.7092 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6133, allocations: 0 / 0.7092 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.6133, allocations: 3.984 kB / 0.7092 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.6147, allocations: 1.059 MB / 0.7102 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.6147, allocations: 3.938 kB / 0.7102 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006281/0.6154, allocations: 155.8 kB / 0.7104 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006083/0.616, allocations: 80.78 kB / 0.7104 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.6161, allocations: 27.97 kB / 0.7105 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/0.6181, allocations: 1.567 MB / 0.712 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.6181, allocations: 0 / 0.712 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.6202, allocations: 0.9863 MB / 0.713 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005242/0.6207, allocations: 303.5 kB / 0.7132 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.6209, allocations: 16 kB / 0.7133 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006437/0.6215, allocations: 92.22 kB / 0.7133 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.6217, allocations: 72.89 kB / 0.7134 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.599e-05/0.6218, allocations: 35.98 kB / 0.7135 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007104/0.6225, allocations: 0.5107 MB / 0.714 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.343e-06/0.6225, allocations: 0 / 0.714 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008828/0.6234, allocations: 366.7 kB / 0.7143 GB, free: 7.773 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003274/0.6267, allocations: 2.035 MB / 0.7163 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00167/0.6283, allocations: 0.8548 MB / 0.7171 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.6284, allocations: 0 / 0.7171 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009397/0.6293, allocations: 0.5431 MB / 0.7177 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.6305, allocations: 255.3 kB / 0.7179 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.6415, allocations: 6.364 MB / 0.7241 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007036/0.6423, allocations: 1.137 MB / 0.7252 GB, free: 12.51 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009354/0.6432, allocations: 279.4 kB / 0.7255 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005943/0.6438, allocations: 487.2 kB / 0.726 GB, free: 11.76 MB / 0.545 GB Notification: Performance of SimCode: time 6.21e-07/0.6438, allocations: 0 / 0.726 GB, free: 11.76 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04557/0.6894, allocations: 23.13 MB / 0.7485 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002753/0.6897, allocations: 278 kB / 0.7488 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.636/3.325, allocations: 0 / 0.7488 GB, free: 4.691 MB / 0.5606 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/linux/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) Environment - environmentSimulation: