Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_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.001222/0.001222, allocations: 102.2 kB / 16.4 MB, free: 6.484 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.001141/0.001141, allocations: 195.8 kB / 17.34 MB, free: 5.762 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.223/1.223, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6599/0.6599, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 66.83 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1238, allocations: 76.18 MB / 0.6316 GB, free: 4.938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006334/0.1302, allocations: 4.84 MB / 0.6363 GB, free: 72 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.4371/0.5673, allocations: 150.6 MB / 0.7834 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.5684, allocations: 19.47 kB / 0.7834 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006511/0.569, allocations: 190.6 kB / 0.7836 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.5707, allocations: 0.546 MB / 0.7841 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.5723, allocations: 0.8222 MB / 0.7849 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001315/0.5736, allocations: 1.38 MB / 0.7862 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007472/0.5744, allocations: 0.58 MB / 0.7868 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000595/0.575, allocations: 487.1 kB / 0.7873 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004776/0.5755, allocations: 0.4961 MB / 0.7878 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.5756, allocations: 113.9 kB / 0.7879 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008056/0.5764, allocations: 483.9 kB / 0.7883 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002334/0.5767, allocations: 299.2 kB / 0.7886 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004049/0.5771, allocations: 0.5539 MB / 0.7892 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.5788, allocations: 1.625 MB / 0.7907 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5788, allocations: 0 / 0.7907 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5788, allocations: 2.5 kB / 0.7907 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.661e-05/0.5789, allocations: 0 / 0.7907 GB, free: 12.99 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002543/0.5814, allocations: 1.43 MB / 0.7921 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.5815, allocations: 7.562 kB / 0.7921 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000142/0.5816, allocations: 135.2 kB / 0.7923 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008345/0.5824, allocations: 189.9 kB / 0.7925 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009084/0.5834, allocations: 0.7651 MB / 0.7932 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.847e-05/0.5834, allocations: 61.72 kB / 0.7933 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-05/0.5835, allocations: 82.98 kB / 0.7933 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.5848, allocations: 0.9135 MB / 0.7942 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.5848, allocations: 0 / 0.7942 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.407e-05/0.5849, allocations: 40.23 kB / 0.7943 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.5849, allocations: 20.81 kB / 0.7943 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.5864, allocations: 1.102 MB / 0.7954 GB, free: 11.57 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.003246/0.5896, allocations: 2.676 MB / 0.798 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.5908, allocations: 0.7971 MB / 0.7988 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004302/0.5913, allocations: 299.1 kB / 0.799 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.414e-05/0.5913, allocations: 38.83 kB / 0.7991 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007204/0.5921, allocations: 495.5 kB / 0.7996 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.214e-06/0.5921, allocations: 0 / 0.7996 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.002811/0.5949, allocations: 1.196 MB / 0.8007 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.098e-05/0.595, allocations: 188.5 kB / 0.8009 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006364/0.5956, allocations: 0.6324 MB / 0.8015 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.124e-05/0.5957, allocations: 40.36 kB / 0.8016 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.5959, allocations: 398.7 kB / 0.8019 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.5961, allocations: 259.6 kB / 0.8022 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/0.5963, allocations: 146.9 kB / 0.8023 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.5964, allocations: 387.2 kB / 0.8027 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004023/0.5969, allocations: 250 kB / 0.8029 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005008/0.5974, allocations: 363.1 kB / 0.8033 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008829/0.5983, allocations: 0.5791 MB / 0.8038 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5983, allocations: 0 / 0.8038 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001606/0.5999, allocations: 0.8047 MB / 0.8046 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.5999, allocations: 8.875 kB / 0.8046 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.5999, allocations: 2.719 kB / 0.8046 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005846/0.6005, allocations: 85.56 kB / 0.8047 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000566/0.6011, allocations: 153.6 kB / 0.8049 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.603, allocations: 1.635 MB / 0.8065 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006299/0.6036, allocations: 79.83 kB / 0.8065 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-05/0.6037, allocations: 34.5 kB / 0.8066 GB, free: 6.543 MB / 0.5919 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 (87): * Single equations (assignments): 86 * 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.0003993/0.6041, allocations: 269 kB / 0.8068 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.6042, allocations: 83.91 kB / 0.8069 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/0.6063, allocations: 1.064 MB / 0.808 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.6063, allocations: 7.688 kB / 0.808 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.6063, allocations: 1.781 kB / 0.808 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.6063, allocations: 7.922 kB / 0.808 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008774/0.6072, allocations: 0.8917 MB / 0.8088 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.6072, allocations: 0 / 0.8088 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000522/0.6078, allocations: 139.3 kB / 0.809 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004195/0.6082, allocations: 76.78 kB / 0.809 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-05/0.6083, allocations: 25.77 kB / 0.8091 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/0.6101, allocations: 1.664 MB / 0.8107 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6101, allocations: 4.062 kB / 0.8107 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/0.612, allocations: 0.9227 MB / 0.8116 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003593/0.6124, allocations: 284 kB / 0.8119 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.6125, allocations: 17.03 kB / 0.8119 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005904/0.6131, allocations: 63.59 kB / 0.8119 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.6133, allocations: 69.36 kB / 0.812 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.936e-05/0.6133, allocations: 34.33 kB / 0.812 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005631/0.6139, allocations: 463.4 kB / 0.8125 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6139, allocations: 0 / 0.8125 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009854/0.6149, allocations: 315.7 kB / 0.8128 GB, free: 2.77 MB / 0.5919 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 (91): * Single equations (assignments): 85 * 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.003333/0.6183, allocations: 1.969 MB / 0.8147 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00153/0.6198, allocations: 0.797 MB / 0.8155 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6198, allocations: 0 / 0.8155 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000825/0.6206, allocations: 0.5183 MB / 0.816 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.6217, allocations: 297.9 kB / 0.8163 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009032/0.6308, allocations: 6.121 MB / 0.8223 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005366/0.6313, allocations: 1.019 MB / 0.8233 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007756/0.6321, allocations: 259.8 kB / 0.8235 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004943/0.6326, allocations: 379 kB / 0.8239 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.6326, allocations: 4 kB / 0.8239 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04656/0.6792, allocations: 21.9 MB / 0.8452 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/12.03, allocations: 8 kB / 0.8453 GB, free: 8.02 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)