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.6716/0.6716, allocations: 127.4 MB / 134.9 MB, free: 3.711 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.00102/0.00102, allocations: 180.8 kB / 164.6 MB, free: 6.512 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.257/1.257, allocations: 205.2 MB / 399.5 MB, free: 5.945 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.0008408/0.0008408, allocations: 103.5 kB / 476.7 MB, free: 8.672 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.634e-05/1.644e-05, allocations: 0 / 0.5467 GB, free: 60.42 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.114, allocations: 76.76 MB / 0.6216 GB, free: 15.59 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.207/5.321, allocations: 2.151 GB / 2.773 GB, free: 37.22 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/5.321, allocations: 85.2 kB / 2.773 GB, free: 37.18 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.6813/6.002, allocations: 94.46 MB / 2.865 GB, free: 192.4 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.386e-06/6.002, allocations: 3.688 kB / 2.865 GB, free: 192.4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001064/6.002, allocations: 44.69 kB / 2.865 GB, free: 192.4 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: 477 * Number of variables: 477 Notification: Performance of Generate backend data structure: time 0.004057/6.007, allocations: 1.819 MB / 2.867 GB, free: 191.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.75e-05/6.007, allocations: 9.219 kB / 2.867 GB, free: 191.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01322/6.02, allocations: 1.906 MB / 2.869 GB, free: 190.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003071/6.023, allocations: 0.9621 MB / 2.869 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.864e-05/6.023, allocations: 57.81 kB / 2.87 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003679/6.023, allocations: 104.6 kB / 2.87 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00509/6.029, allocations: 2.793 MB / 2.872 GB, free: 188.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003566/6.032, allocations: 2.076 MB / 2.874 GB, free: 187.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/6.032, allocations: 0 / 2.874 GB, free: 187.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002303/6.032, allocations: 7.438 kB / 2.874 GB, free: 187.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.802e-05/6.033, allocations: 45.59 kB / 2.874 GB, free: 187.4 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01422/6.047, allocations: 5.933 MB / 2.88 GB, free: 181.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/6.049, allocations: 1.913 MB / 2.882 GB, free: 179.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/6.05, allocations: 0.9951 MB / 2.883 GB, free: 178.9 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007108/6.051, allocations: 0.5098 MB / 2.884 GB, free: 178.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001774/6.053, allocations: 1.269 MB / 2.885 GB, free: 177 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=192): time 4.789e-06/6.053, allocations: 0 / 2.885 GB, free: 177 MB / 0.6355 GB Notification: Performance of matching and sorting (n=192): time 0.0148/6.068, allocations: 3.771 MB / 2.888 GB, free: 173.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.988e-05/6.068, allocations: 176.2 kB / 2.889 GB, free: 173 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/6.069, allocations: 0.5978 MB / 2.889 GB, free: 172.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001982/6.069, allocations: 25.7 kB / 2.889 GB, free: 172.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005834/6.07, allocations: 0.5944 MB / 2.89 GB, free: 171.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005761/6.07, allocations: 0.5924 MB / 2.89 GB, free: 171.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/6.071, allocations: 4 kB / 2.89 GB, free: 171.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001955/6.071, allocations: 414.7 kB / 2.891 GB, free: 170.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/6.072, allocations: 0.7577 MB / 2.892 GB, free: 170 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00135/6.073, allocations: 0.9037 MB / 2.892 GB, free: 169.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01162/6.085, allocations: 2.586 MB / 2.895 GB, free: 166.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-05/6.085, allocations: 4 kB / 2.895 GB, free: 166.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.0187/6.104, allocations: 3.811 MB / 2.899 GB, free: 162.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.513e-05/6.104, allocations: 7.938 kB / 2.899 GB, free: 162.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/6.104, allocations: 4.156 kB / 2.899 GB, free: 162.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007619/6.105, allocations: 84.89 kB / 2.899 GB, free: 162.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004421/6.109, allocations: 0.5623 MB / 2.899 GB, free: 162 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/6.111, allocations: 1.464 MB / 2.901 GB, free: 160.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003604/6.115, allocations: 272.5 kB / 2.901 GB, free: 160.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007954/6.116, allocations: 87.91 kB / 2.901 GB, free: 160.1 MB / 0.6355 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.001248/6.117, allocations: 134.8 kB / 2.901 GB, free: 160 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01893/6.136, allocations: 3.77 MB / 2.905 GB, free: 156.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001402/6.138, allocations: 127.9 kB / 2.905 GB, free: 156.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01974/6.157, allocations: 4.34 MB / 2.909 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/6.157, allocations: 23.98 kB / 2.909 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/6.157, allocations: 0 / 2.909 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.807e-05/6.157, allocations: 7.969 kB / 2.909 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02079/6.178, allocations: 6.273 MB / 2.915 GB, free: 145.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/6.178, allocations: 4 kB / 2.915 GB, free: 145.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003812/6.182, allocations: 0.5371 MB / 2.916 GB, free: 144.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005301/6.183, allocations: 76.78 kB / 2.916 GB, free: 144.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005149/6.183, allocations: 51.92 kB / 2.916 GB, free: 144.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/6.185, allocations: 1.477 MB / 2.918 GB, free: 143.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/6.185, allocations: 0 / 2.918 GB, free: 143.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01594/6.201, allocations: 3.943 MB / 2.921 GB, free: 139.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00136/6.202, allocations: 0.5181 MB / 2.922 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006377/6.203, allocations: 4 kB / 2.922 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002942/6.206, allocations: 223.8 kB / 2.922 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003263/6.206, allocations: 117.8 kB / 2.922 GB, free: 138.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003091/6.207, allocations: 79.92 kB / 2.922 GB, free: 138.3 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008895/6.208, allocations: 0.5057 MB / 2.923 GB, free: 137.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.9e-07/6.208, allocations: 4 kB / 2.923 GB, free: 137.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00262/6.21, allocations: 0.5411 MB / 2.923 GB, free: 137.3 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.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.01704/6.227, allocations: 5.459 MB / 2.929 GB, free: 132 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003971/6.231, allocations: 2.082 MB / 2.931 GB, free: 129.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/6.231, allocations: 0 / 2.931 GB, free: 129.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002107/6.233, allocations: 1.217 MB / 2.932 GB, free: 128.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/6.235, allocations: 193.5 kB / 2.932 GB, free: 128.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007764/6.243, allocations: 2.86 MB / 2.935 GB, free: 125.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008811/6.244, allocations: 1.325 MB / 2.936 GB, free: 124.3 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003997/6.248, allocations: 0.5411 MB / 2.937 GB, free: 123.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001647/6.249, allocations: 0.7061 MB / 2.937 GB, free: 123 MB / 0.6355 GB Notification: Performance of SimCode: time 1.633e-06/6.249, allocations: 4 kB / 2.937 GB, free: 123 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08038/6.33, allocations: 38.19 MB / 2.975 GB, free: 84.96 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000239/6.33, allocations: 191.3 kB / 2.975 GB, free: 84.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.535/9.865, allocations: 0 / 2.975 GB, free: 84.7 MB / 0.6355 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)