Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.435/1.435, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001713/0.001713, allocations: 175.2 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.87/1.87, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009755/0.0009759, allocations: 90 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003679, allocations: 10.38 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2532, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005575/0.2588, allocations: 5.109 MB / 0.9051 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1576/0.4165, allocations: 128.1 MB / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001627/0.4182, allocations: 23.88 kB / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006324/0.4188, allocations: 118.8 kB / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002411/0.4212, allocations: 0.5614 MB / 1.031 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002754/0.424, allocations: 0.8913 MB / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002776/0.4268, allocations: 1.359 MB / 1.033 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00156/0.4284, allocations: 1.111 MB / 1.034 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.4296, allocations: 0.6923 MB / 1.035 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.4307, allocations: 0.754 MB / 1.036 GB, free: 4.734 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.4309, allocations: 56 kB / 1.036 GB, free: 4.68 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008187/0.4317, allocations: 295.7 kB / 1.036 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003314/0.432, allocations: 342.5 kB / 1.036 GB, free: 4.055 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003577/0.4324, allocations: 352.6 kB / 1.037 GB, free: 3.703 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002437/0.4349, allocations: 2.295 MB / 1.039 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4349, allocations: 0 / 1.039 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.495e-06/0.4349, allocations: 0 / 1.039 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.868e-05/0.4349, allocations: 0 / 1.039 GB, free: 1.402 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.005228/0.4402, allocations: 2.082 MB / 1.041 GB, free: 15.26 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.4402, allocations: 12.03 kB / 1.041 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005699/0.4408, allocations: 295.5 kB / 1.041 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01482/0.4557, allocations: 2.19 MB / 1.043 GB, free: 12.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003599/0.4593, allocations: 1.146 MB / 1.044 GB, free: 11.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001824/0.4596, allocations: 156.1 kB / 1.045 GB, free: 11.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007915/0.4604, allocations: 204 kB / 1.045 GB, free: 11.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009194/0.4696, allocations: 3.074 MB / 1.048 GB, free: 8.023 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.962e-05/0.4697, allocations: 0 / 1.048 GB, free: 8.023 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002675/0.4699, allocations: 88 kB / 1.048 GB, free: 7.938 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.397e-05/0.47, allocations: 48 kB / 1.048 GB, free: 7.891 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01282/0.4828, allocations: 4.082 MB / 1.052 GB, free: 3.789 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6044/1.087, allocations: 6.597 MB / 1.058 GB, free: 16.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008867/1.096, allocations: 2.731 MB / 1.061 GB, free: 16.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007294/1.097, allocations: 0.5025 MB / 1.062 GB, free: 16.33 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004918/1.102, allocations: 1.632 MB / 1.063 GB, free: 16.24 MB / 0.698 GB Notification: Performance of pre-optimization done (n=192): time 3.727e-06/1.102, allocations: 2.734 kB / 1.063 GB, free: 16.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=192): time 0.01668/1.119, allocations: 4.044 MB / 1.067 GB, free: 15.97 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/1.119, allocations: 202.7 kB / 1.067 GB, free: 15.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/1.12, allocations: 0.8266 MB / 1.068 GB, free: 15.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002784/1.121, allocations: 60.67 kB / 1.068 GB, free: 15.56 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006674/1.121, allocations: 0.6979 MB / 1.069 GB, free: 15.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006696/1.122, allocations: 0.6246 MB / 1.069 GB, free: 14.83 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/1.122, allocations: 30.62 kB / 1.069 GB, free: 14.83 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001744/1.122, allocations: 363.4 kB / 1.07 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004956/1.127, allocations: 1.12 MB / 1.071 GB, free: 14.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004519/1.132, allocations: 1.298 MB / 1.072 GB, free: 14.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00417/1.136, allocations: 1.158 MB / 1.073 GB, free: 14.32 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/1.136, allocations: 4 kB / 1.073 GB, free: 14.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=206) (initialization): time 0.009321/1.145, allocations: 2.792 MB / 1.076 GB, free: 14.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/1.145, allocations: 9.594 kB / 1.076 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/1.145, allocations: 1.188 kB / 1.076 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005874/1.146, allocations: 96.02 kB / 1.076 GB, free: 14.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003392/1.149, allocations: 0.5388 MB / 1.077 GB, free: 14.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/1.151, allocations: 1.534 MB / 1.078 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002945/1.154, allocations: 328.7 kB / 1.078 GB, free: 12.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003094/1.155, allocations: 85.3 kB / 1.079 GB, free: 12.71 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 203 * 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.001124/1.156, allocations: 398.2 kB / 1.079 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003664/1.156, allocations: 139.4 kB / 1.079 GB, free: 12.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/1.166, allocations: 3.397 MB / 1.082 GB, free: 12.25 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.317e-05/1.166, allocations: 20.84 kB / 1.082 GB, free: 12.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/1.166, allocations: 0 / 1.082 GB, free: 12.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.246e-05/1.166, allocations: 11.39 kB / 1.082 GB, free: 12.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01276/1.179, allocations: 5.591 MB / 1.088 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/1.179, allocations: 0 / 1.088 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003116/1.182, allocations: 0.5213 MB / 1.088 GB, free: 11.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005209/1.183, allocations: 87.58 kB / 1.088 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002146/1.183, allocations: 64.72 kB / 1.088 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/1.185, allocations: 1.563 MB / 1.09 GB, free: 10.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.185, allocations: 3.703 kB / 1.09 GB, free: 10.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008903/1.194, allocations: 2.949 MB / 1.093 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/1.195, allocations: 0.523 MB / 1.093 GB, free: 9.844 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002799/1.195, allocations: 37.53 kB / 1.093 GB, free: 9.844 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002434/1.198, allocations: 252.7 kB / 1.094 GB, free: 9.824 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002253/1.198, allocations: 121.1 kB / 1.094 GB, free: 9.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001772/1.198, allocations: 78.88 kB / 1.094 GB, free: 9.82 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008544/1.199, allocations: 0.6126 MB / 1.094 GB, free: 9.711 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.11e-07/1.199, allocations: 0 / 1.094 GB, free: 9.711 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001695/1.201, allocations: 0.5597 MB / 1.095 GB, free: 9.621 MB / 0.698 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 203 * 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.009496/1.21, allocations: 4.011 MB / 1.099 GB, free: 8.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008398/1.219, allocations: 2.854 MB / 1.102 GB, free: 8.457 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.219, allocations: 0 / 1.102 GB, free: 8.457 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004477/1.223, allocations: 1.598 MB / 1.103 GB, free: 8.312 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/1.225, allocations: 277 kB / 1.104 GB, free: 8.293 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0279/1.253, allocations: 12.33 MB / 1.116 GB, free: 4.199 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008695/1.254, allocations: 1.399 MB / 1.117 GB, free: 3.34 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003503/1.257, allocations: 0.5471 MB / 1.117 GB, free: 3.008 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001568/1.259, allocations: 0.7928 MB / 1.118 GB, free: 2.898 MB / 0.698 GB Notification: Performance of SimCode: time 1.422e-06/1.259, allocations: 0 / 1.118 GB, free: 2.898 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07635/1.335, allocations: 37.51 MB / 1.155 GB, free: 4.715 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002385/1.335, allocations: 286 kB / 1.155 GB, free: 4.355 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.293/4.629, allocations: 0 / 1.155 GB, free: 4.355 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)