Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.681/1.681, allocations: 285.4 MB / 298 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001053, allocations: 172.9 kB / 366.4 MB, free: 2.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205.1 MB / 0.6248 GB, free: 7.723 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008731/0.0008732, allocations: 92.8 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.392e-05/4.429e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8353/0.8353, allocations: 115.3 MB / 0.971 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.508/6.344, allocations: 2.072 GB / 3.043 GB, free: 22.42 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/6.344, allocations: 90.58 kB / 3.043 GB, free: 22.37 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8619/7.206, allocations: 57.47 MB / 3.099 GB, free: 328.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.615e-06/7.206, allocations: 0 / 3.099 GB, free: 328.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001665/7.206, allocations: 20.44 kB / 3.099 GB, free: 328.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003406/7.21, allocations: 1.035 MB / 3.1 GB, free: 328.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.354e-05/7.21, allocations: 9.719 kB / 3.1 GB, free: 328.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004167/7.21, allocations: 124.3 kB / 3.1 GB, free: 328 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/7.212, allocations: 183.8 kB / 3.1 GB, free: 328 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/7.213, allocations: 0.6048 MB / 3.101 GB, free: 327.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.868e-05/7.214, allocations: 56.34 kB / 3.101 GB, free: 327.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002074/7.214, allocations: 73.03 kB / 3.101 GB, free: 327.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/7.216, allocations: 0.802 MB / 3.102 GB, free: 327.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/7.216, allocations: 3.984 kB / 3.102 GB, free: 327.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/7.216, allocations: 41.05 kB / 3.102 GB, free: 327.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.772e-05/7.216, allocations: 21.75 kB / 3.102 GB, free: 327.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002307/7.218, allocations: 1.011 MB / 3.103 GB, free: 326.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005225/7.224, allocations: 2.344 MB / 3.105 GB, free: 325.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/7.225, allocations: 0.6741 MB / 3.106 GB, free: 325.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004514/7.225, allocations: 256.4 kB / 3.106 GB, free: 325.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/7.225, allocations: 33.97 kB / 3.106 GB, free: 325.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007344/7.226, allocations: 400.6 kB / 3.107 GB, free: 325 MB / 0.948 GB Notification: Performance of pre-optimization done (n=71): time 4.638e-06/7.226, allocations: 0 / 3.107 GB, free: 325 MB / 0.948 GB Notification: Performance of matching and sorting (n=71): time 0.001982/7.228, allocations: 0.674 MB / 3.107 GB, free: 324.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/7.228, allocations: 244.5 kB / 3.107 GB, free: 324.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/7.23, allocations: 0.5624 MB / 3.108 GB, free: 324.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/7.23, allocations: 41.17 kB / 3.108 GB, free: 324.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003734/7.23, allocations: 366.6 kB / 3.108 GB, free: 323.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00022/7.23, allocations: 239.9 kB / 3.109 GB, free: 323.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/7.23, allocations: 10.12 kB / 3.109 GB, free: 323.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001705/7.231, allocations: 379 kB / 3.109 GB, free: 323.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/7.231, allocations: 190 kB / 3.109 GB, free: 323.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005045/7.232, allocations: 306.5 kB / 3.11 GB, free: 323.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000475/7.232, allocations: 251.2 kB / 3.11 GB, free: 323 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/7.232, allocations: 0 / 3.11 GB, free: 323 MB / 0.948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001823/7.234, allocations: 0.6821 MB / 3.11 GB, free: 322.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/7.234, allocations: 4.844 kB / 3.11 GB, free: 322.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/7.234, allocations: 1.312 kB / 3.11 GB, free: 322.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006477/7.235, allocations: 80.45 kB / 3.11 GB, free: 322.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006309/7.235, allocations: 137.4 kB / 3.111 GB, free: 322.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/7.237, allocations: 1.513 MB / 3.112 GB, free: 321.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007891/7.238, allocations: 81.78 kB / 3.112 GB, free: 321.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.51e-05/7.238, allocations: 28.19 kB / 3.112 GB, free: 321.3 MB / 0.948 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.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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.0002257/7.238, allocations: 148.9 kB / 3.112 GB, free: 321.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/7.239, allocations: 74.3 kB / 3.112 GB, free: 321.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002499/7.241, allocations: 0.9298 MB / 3.113 GB, free: 320.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/7.241, allocations: 13.19 kB / 3.113 GB, free: 320.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/7.241, allocations: 0 / 3.113 GB, free: 320.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/7.241, allocations: 7.031 kB / 3.113 GB, free: 320.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/7.243, allocations: 0.8433 MB / 3.114 GB, free: 320.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/7.243, allocations: 4 kB / 3.114 GB, free: 320.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00062/7.244, allocations: 137.6 kB / 3.114 GB, free: 320.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005425/7.244, allocations: 86.08 kB / 3.114 GB, free: 320.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.522e-05/7.244, allocations: 23.91 kB / 3.114 GB, free: 320.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/7.246, allocations: 1.541 MB / 3.116 GB, free: 318.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/7.246, allocations: 0 / 3.116 GB, free: 318.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/7.248, allocations: 0.7817 MB / 3.117 GB, free: 318.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006782/7.249, allocations: 274.8 kB / 3.117 GB, free: 318.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002207/7.249, allocations: 20.25 kB / 3.117 GB, free: 318.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006974/7.25, allocations: 71.44 kB / 3.117 GB, free: 318.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/7.25, allocations: 57.59 kB / 3.117 GB, free: 318.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.142e-05/7.25, allocations: 28.19 kB / 3.117 GB, free: 318.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000993/7.251, allocations: 468.3 kB / 3.118 GB, free: 318 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.71e-07/7.251, allocations: 1.062 kB / 3.118 GB, free: 318 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001842/7.253, allocations: 327.6 kB / 3.118 GB, free: 317.9 MB / 0.948 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.005211/7.258, allocations: 2.22 MB / 3.12 GB, free: 316.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001809/7.26, allocations: 0.6709 MB / 3.121 GB, free: 316.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/7.26, allocations: 0 / 3.121 GB, free: 316.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/7.261, allocations: 458.7 kB / 3.121 GB, free: 316.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/7.263, allocations: 242 kB / 3.121 GB, free: 316.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005324/7.268, allocations: 1.496 MB / 3.123 GB, free: 315.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007621/7.269, allocations: 1.006 MB / 3.124 GB, free: 314.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001091/7.27, allocations: 257.9 kB / 3.124 GB, free: 314.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000613/7.271, allocations: 330.6 kB / 3.124 GB, free: 314.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.903e-06/7.271, allocations: 3.938 kB / 3.124 GB, free: 314.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07445/7.345, allocations: 30.16 MB / 3.154 GB, free: 301.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002643/7.345, allocations: 265.7 kB / 3.154 GB, free: 301.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.253/10.6, allocations: 0 / 3.154 GB, free: 301.5 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)