Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7204/0.7204, allocations: 127.4 MB / 134.9 MB, free: 3.766 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 179.3 kB / 164.6 MB, free: 6.516 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.236/1.236, allocations: 205.2 MB / 399.5 MB, free: 5.93 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008016/0.0008017, allocations: 86.95 kB / 476.7 MB, free: 8.66 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.579e-05/1.58e-05, allocations: 4 kB / 0.5467 GB, free: 60.38 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1204, allocations: 76.76 MB / 0.6216 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.984/5.104, allocations: 2.147 GB / 2.769 GB, free: 83.57 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/5.105, allocations: 101.4 kB / 2.769 GB, free: 83.47 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1261/5.231, allocations: 62.45 MB / 2.83 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.703e-06/5.231, allocations: 0 / 2.83 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.237e-05/5.231, allocations: 24 kB / 2.83 GB, free: 20.71 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.001595/5.233, allocations: 1.052 MB / 2.831 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/5.233, allocations: 11.97 kB / 2.831 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001899/5.235, allocations: 326.3 kB / 2.831 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007419/5.235, allocations: 0.549 MB / 2.832 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/5.235, allocations: 28 kB / 2.832 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.84e-05/5.235, allocations: 48 kB / 2.832 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001261/5.237, allocations: 1.042 MB / 2.833 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/5.238, allocations: 0.7589 MB / 2.834 GB, free: 16.78 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/5.238, allocations: 4 kB / 2.834 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.856e-05/5.238, allocations: 0 / 2.834 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/5.238, allocations: 20 kB / 2.834 GB, free: 16.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003359/5.241, allocations: 2.377 MB / 2.836 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008487/5.242, allocations: 0.6772 MB / 2.837 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/5.242, allocations: 264 kB / 2.837 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005926/5.243, allocations: 470.3 kB / 2.837 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005398/5.244, allocations: 420.5 kB / 2.838 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=73): time 1.884e-06/5.244, allocations: 0 / 2.838 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73): time 0.006522/5.25, allocations: 1.504 MB / 2.839 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/5.25, allocations: 174.9 kB / 2.839 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/5.251, allocations: 449.3 kB / 2.84 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.831e-05/5.251, allocations: 25.7 kB / 2.84 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/5.251, allocations: 368.1 kB / 2.84 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/5.251, allocations: 232.5 kB / 2.84 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/5.251, allocations: 0 / 2.84 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.561e-05/5.251, allocations: 366.8 kB / 2.841 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/5.251, allocations: 201.5 kB / 2.841 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/5.252, allocations: 277 kB / 2.841 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005424/5.257, allocations: 1.074 MB / 2.842 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/5.257, allocations: 0 / 2.842 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.006245/5.263, allocations: 1.499 MB / 2.844 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/5.263, allocations: 7.938 kB / 2.844 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/5.264, allocations: 4 kB / 2.844 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005509/5.264, allocations: 88.78 kB / 2.844 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007113/5.265, allocations: 151.8 kB / 2.844 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/5.266, allocations: 1.457 MB / 2.845 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006024/5.267, allocations: 71.72 kB / 2.845 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.587e-05/5.267, allocations: 23.98 kB / 2.846 GB, free: 4.223 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.0001543/5.267, allocations: 114.2 kB / 2.846 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00623/5.273, allocations: 1.511 MB / 2.847 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.358e-05/5.273, allocations: 71.16 kB / 2.847 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006822/5.28, allocations: 1.741 MB / 2.849 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/5.28, allocations: 11.94 kB / 2.849 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/5.28, allocations: 4 kB / 2.849 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/5.28, allocations: 7.938 kB / 2.849 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4711/5.751, allocations: 0.7259 MB / 2.85 GB, free: 190.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/5.751, allocations: 0 / 2.85 GB, free: 190.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/5.753, allocations: 159.3 kB / 2.85 GB, free: 190.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006096/5.753, allocations: 81.34 kB / 2.85 GB, free: 190.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-05/5.753, allocations: 17.7 kB / 2.85 GB, free: 190.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/5.755, allocations: 1.476 MB / 2.851 GB, free: 189.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/5.755, allocations: 0 / 2.851 GB, free: 189.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008323/5.763, allocations: 1.592 MB / 2.853 GB, free: 189.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000587/5.764, allocations: 280.1 kB / 2.853 GB, free: 189.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/5.764, allocations: 2.5 kB / 2.853 GB, free: 189.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006484/5.765, allocations: 59.36 kB / 2.853 GB, free: 189.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/5.765, allocations: 59.06 kB / 2.853 GB, free: 189.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.728e-05/5.765, allocations: 32.03 kB / 2.853 GB, free: 189.3 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005935/5.766, allocations: 362.4 kB / 2.854 GB, free: 189.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.51e-07/5.766, allocations: 3.5 kB / 2.854 GB, free: 189.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001485/5.767, allocations: 322.4 kB / 2.854 GB, free: 189.2 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.01092/5.778, allocations: 3.099 MB / 2.857 GB, free: 188.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001629/5.78, allocations: 0.6563 MB / 2.858 GB, free: 188.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/5.78, allocations: 2.094 kB / 2.858 GB, free: 188.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009141/5.781, allocations: 447.2 kB / 2.858 GB, free: 188.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/5.782, allocations: 176.4 kB / 2.858 GB, free: 188.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006003/5.788, allocations: 1.458 MB / 2.86 GB, free: 187.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/5.789, allocations: 1.003 MB / 2.861 GB, free: 187.1 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001468/5.791, allocations: 253.1 kB / 2.861 GB, free: 187.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000775/5.792, allocations: 330.1 kB / 2.861 GB, free: 187.1 MB / 0.6355 GB Notification: Performance of SimCode: time 2.274e-06/5.792, allocations: 2.469 kB / 2.861 GB, free: 187.1 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07267/5.864, allocations: 21.29 MB / 2.882 GB, free: 185.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002351/5.865, allocations: 213.8 kB / 2.882 GB, free: 185.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.838/8.702, allocations: 0 / 2.882 GB, free: 185.3 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)