Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.Examples.DiffusePerez,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.7424/0.7424, allocations: 127.3 MB / 139.8 MB, free: 15.47 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009393/0.0009393, allocations: 180.9 kB / 169.7 MB, free: 1.73 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.324/1.324, allocations: 205.1 MB / 404.5 MB, free: 1.637 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.0008216/0.0008217, allocations: 97.97 kB / 481.8 MB, free: 4.289 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.131e-05/3.15e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1183, allocations: 76.76 MB / 0.6282 GB, free: 9.918 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.077/5.195, allocations: 2.151 GB / 2.78 GB, free: 128.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/5.195, allocations: 89.62 kB / 2.78 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1984/5.394, allocations: 95.28 MB / 2.873 GB, free: 36.07 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.804e-06/5.394, allocations: 0 / 2.873 GB, free: 36.07 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001008/5.394, allocations: 44 kB / 2.873 GB, free: 36.02 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 477 * Number of variables: 477 Notification: Performance of Generate backend data structure: time 0.003582/5.398, allocations: 1.82 MB / 2.875 GB, free: 34.15 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/5.398, allocations: 12.02 kB / 2.875 GB, free: 34.14 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002674/5.398, allocations: 266 kB / 2.875 GB, free: 33.87 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.012/5.41, allocations: 1.909 MB / 2.877 GB, free: 31.95 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/5.412, allocations: 0.9506 MB / 2.878 GB, free: 30.96 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.601e-05/5.412, allocations: 135.8 kB / 2.878 GB, free: 30.83 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003019/5.412, allocations: 184 kB / 2.878 GB, free: 30.65 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003641/5.416, allocations: 2.326 MB / 2.88 GB, free: 28.29 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.55e-05/5.416, allocations: 3.984 kB / 2.88 GB, free: 28.29 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000213/5.416, allocations: 80 kB / 2.88 GB, free: 28.21 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.837e-05/5.416, allocations: 47.95 kB / 2.88 GB, free: 28.16 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004149/5.42, allocations: 2.895 MB / 2.883 GB, free: 25.26 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0116/5.432, allocations: 6.242 MB / 2.889 GB, free: 18.94 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002774/5.435, allocations: 2.027 MB / 2.891 GB, free: 16.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/5.436, allocations: 1.052 MB / 2.892 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000638/5.437, allocations: 0.5035 MB / 2.893 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001776/5.438, allocations: 1.325 MB / 2.894 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=192): time 4.648e-06/5.438, allocations: 0 / 2.894 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=192): time 0.003914/5.442, allocations: 2.067 MB / 2.896 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.285e-05/5.442, allocations: 180.2 kB / 2.896 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008838/5.443, allocations: 0.6881 MB / 2.897 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000168/5.444, allocations: 61.7 kB / 2.897 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004223/5.444, allocations: 0.5908 MB / 2.898 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004205/5.444, allocations: 0.6197 MB / 2.898 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/5.445, allocations: 36 kB / 2.898 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001411/5.445, allocations: 426.6 kB / 2.899 GB, free: 9.16 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/5.446, allocations: 0.7889 MB / 2.899 GB, free: 8.371 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/5.447, allocations: 0.9398 MB / 2.9 GB, free: 7.41 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/5.448, allocations: 0.8219 MB / 2.901 GB, free: 6.59 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/5.448, allocations: 7.938 kB / 2.901 GB, free: 6.582 MB / 0.6511 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.003684/5.452, allocations: 2.11 MB / 2.903 GB, free: 4.461 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/5.452, allocations: 8 kB / 2.903 GB, free: 4.453 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/5.452, allocations: 7.938 kB / 2.903 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005672/5.453, allocations: 88.88 kB / 2.903 GB, free: 4.355 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00324/5.456, allocations: 0.5578 MB / 2.904 GB, free: 3.797 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/5.458, allocations: 1.506 MB / 2.905 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002564/5.46, allocations: 322.3 kB / 2.906 GB, free: 1.832 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002046/5.461, allocations: 91.83 kB / 2.906 GB, free: 1.742 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (203): * Single equations (assignments): 202 * 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.0003963/5.461, allocations: 188.7 kB / 2.906 GB, free: 1.551 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002534/5.461, allocations: 130.4 kB / 2.906 GB, free: 1.422 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4928/5.954, allocations: 2.696 MB / 2.909 GB, free: 187.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.928e-05/5.954, allocations: 20.95 kB / 2.909 GB, free: 187.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/5.954, allocations: 0 / 2.909 GB, free: 187.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.7e-05/5.954, allocations: 11.02 kB / 2.909 GB, free: 187.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01189/5.966, allocations: 4.818 MB / 2.913 GB, free: 187 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/5.966, allocations: 2.125 kB / 2.913 GB, free: 187 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003578/5.97, allocations: 0.5341 MB / 2.914 GB, free: 187 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005483/5.97, allocations: 90.59 kB / 2.914 GB, free: 187 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002332/5.97, allocations: 65.44 kB / 2.914 GB, free: 187 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/5.972, allocations: 1.542 MB / 2.916 GB, free: 185.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/5.972, allocations: 0 / 2.916 GB, free: 185.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004855/5.977, allocations: 2.25 MB / 2.918 GB, free: 185.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/5.978, allocations: 0.5325 MB / 2.918 GB, free: 185.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00026/5.978, allocations: 36.27 kB / 2.918 GB, free: 185.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002541/5.981, allocations: 249.3 kB / 2.919 GB, free: 185.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003066/5.981, allocations: 117.5 kB / 2.919 GB, free: 185.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002521/5.981, allocations: 91.55 kB / 2.919 GB, free: 185.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009597/5.982, allocations: 0.5876 MB / 2.919 GB, free: 185.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.81e-07/5.982, allocations: 0 / 2.919 GB, free: 185.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002181/5.985, allocations: 0.5995 MB / 2.92 GB, free: 185.2 MB / 0.6511 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.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 199 * 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.007085/5.992, allocations: 3.729 MB / 2.924 GB, free: 184.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00441/5.996, allocations: 2.174 MB / 2.926 GB, free: 184.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/5.996, allocations: 1.125 kB / 2.926 GB, free: 184.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002352/5.999, allocations: 1.268 MB / 2.927 GB, free: 184.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/6, allocations: 229.6 kB / 2.927 GB, free: 184.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008447/6.009, allocations: 3.032 MB / 2.93 GB, free: 183.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/6.01, allocations: 1.333 MB / 2.931 GB, free: 182.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003479/6.013, allocations: 0.5438 MB / 2.932 GB, free: 182.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001597/6.015, allocations: 0.6997 MB / 2.933 GB, free: 182.7 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/6.015, allocations: 0 / 2.933 GB, free: 182.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07526/6.09, allocations: 46.19 MB / 2.978 GB, free: 180 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/6.09, allocations: 240.7 kB / 2.978 GB, free: 179.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.636/9.727, allocations: 0 / 2.978 GB, free: 179.6 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)