Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.001882/0.001882, allocations: 104.1 kB / 16.4 MB, free: 6.492 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.002582/0.002582, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.436/1.436, 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.7587/0.7587, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 63.7 kB / 0.5572 GB, free: 32.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1563, allocations: 76.18 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007635/0.164, allocations: 5.147 MB / 0.6366 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5898/0.7538, allocations: 150.7 MB / 0.7838 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.7549, allocations: 16.39 kB / 0.7838 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006439/0.7556, allocations: 208.5 kB / 0.784 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001994/0.7576, allocations: 0.5641 MB / 0.7845 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002025/0.7597, allocations: 0.8665 MB / 0.7854 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001919/0.7616, allocations: 1.454 MB / 0.7868 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009361/0.7625, allocations: 0.6504 MB / 0.7874 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009025/0.7635, allocations: 0.5217 MB / 0.7879 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007969/0.7643, allocations: 0.5511 MB / 0.7885 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000239/0.7645, allocations: 124.8 kB / 0.7886 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.7657, allocations: 0.5055 MB / 0.7891 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002706/0.766, allocations: 315.6 kB / 0.7894 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006083/0.7666, allocations: 0.6129 MB / 0.79 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002503/0.7691, allocations: 1.757 MB / 0.7917 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.7691, allocations: 0 / 0.7917 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.759e-06/0.7691, allocations: 1.688 kB / 0.7917 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.379e-05/0.7692, allocations: 3.938 kB / 0.7917 GB, free: 12.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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002984/0.7722, allocations: 1.51 MB / 0.7932 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.7722, allocations: 10.72 kB / 0.7932 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001544/0.7724, allocations: 151.9 kB / 0.7933 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.7734, allocations: 215.9 kB / 0.7936 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.7746, allocations: 0.7797 MB / 0.7943 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.469e-05/0.7747, allocations: 74.25 kB / 0.7944 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.7749, allocations: 89.72 kB / 0.7945 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.7766, allocations: 1.014 MB / 0.7955 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.7767, allocations: 3.938 kB / 0.7955 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-05/0.7768, allocations: 41.47 kB / 0.7955 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.7768, allocations: 21.34 kB / 0.7955 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/0.7786, allocations: 1.181 MB / 0.7967 GB, free: 11.35 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.004668/0.7833, allocations: 2.944 MB / 0.7996 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.785, allocations: 0.912 MB / 0.8004 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005521/0.7855, allocations: 317.5 kB / 0.8007 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006761/0.7862, allocations: 472.7 kB / 0.8012 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008888/0.7871, allocations: 0.5059 MB / 0.8017 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.695e-06/0.7871, allocations: 0 / 0.8017 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.003317/0.7905, allocations: 1.229 MB / 0.8029 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.7906, allocations: 194.7 kB / 0.8031 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008912/0.7915, allocations: 0.6466 MB / 0.8037 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.315e-05/0.7916, allocations: 44.73 kB / 0.8038 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000349/0.792, allocations: 419.8 kB / 0.8042 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.7922, allocations: 268.7 kB / 0.8044 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002656/0.7925, allocations: 150.2 kB / 0.8046 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.7926, allocations: 386.5 kB / 0.8049 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005257/0.7932, allocations: 259 kB / 0.8052 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006311/0.7938, allocations: 372.4 kB / 0.8055 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.7949, allocations: 0.6051 MB / 0.8061 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.7949, allocations: 0 / 0.8061 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001997/0.7969, allocations: 0.8328 MB / 0.8069 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.797, allocations: 5.25 kB / 0.8069 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.797, allocations: 0 / 0.8069 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005859/0.7976, allocations: 88.95 kB / 0.807 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000628/0.7982, allocations: 152.3 kB / 0.8072 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.8003, allocations: 1.626 MB / 0.8088 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009362/0.8012, allocations: 94.94 kB / 0.8088 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.996e-05/0.8013, allocations: 34.91 kB / 0.8089 GB, free: 5.34 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 (88): * Single equations (assignments): 87 * 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.0005696/0.8019, allocations: 268.6 kB / 0.8091 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002095/0.8021, allocations: 82.94 kB / 0.8092 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002433/0.8045, allocations: 1.102 MB / 0.8103 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.8045, allocations: 11.02 kB / 0.8103 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.8046, allocations: 7.094 kB / 0.8103 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.8046, allocations: 3.984 kB / 0.8103 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003553/0.8081, allocations: 2.015 MB / 0.8123 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.8082, allocations: 0 / 0.8123 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006221/0.8088, allocations: 152.6 kB / 0.8124 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000449/0.8092, allocations: 70.86 kB / 0.8125 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.54e-05/0.8093, allocations: 29.78 kB / 0.8125 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/0.8112, allocations: 1.645 MB / 0.8141 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.8113, allocations: 11.73 kB / 0.8141 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/0.8136, allocations: 1.02 MB / 0.8151 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005447/0.8141, allocations: 277.9 kB / 0.8154 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/0.8144, allocations: 21.19 kB / 0.8154 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007627/0.8151, allocations: 67.83 kB / 0.8155 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.8153, allocations: 66.34 kB / 0.8155 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.559e-05/0.8154, allocations: 40.66 kB / 0.8156 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006817/0.8161, allocations: 470.2 kB / 0.816 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8161, allocations: 0 / 0.816 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001086/0.8172, allocations: 357.7 kB / 0.8164 GB, free: 436 kB / 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * 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.003848/0.821, allocations: 2.081 MB / 0.8184 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001833/0.8229, allocations: 0.8251 MB / 0.8192 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.8229, allocations: 0 / 0.8192 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009902/0.8239, allocations: 0.5379 MB / 0.8197 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.8255, allocations: 307.3 kB / 0.82 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/0.8378, allocations: 6.41 MB / 0.8263 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007409/0.8385, allocations: 1.049 MB / 0.8273 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009707/0.8395, allocations: 268.9 kB / 0.8276 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006327/0.8402, allocations: 411.2 kB / 0.828 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of SimCode: time 1.102e-06/0.8402, allocations: 3.938 kB / 0.828 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05568/0.8959, allocations: 22.87 MB / 0.8503 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/14.38, allocations: 17.08 kB / 0.8503 GB, free: 2.953 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)