Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.625/1.625, allocations: 289.9 MB / 297.4 MB, free: 6.34 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.0009555/0.0009558, allocations: 168.9 kB / 366.7 MB, free: 1.637 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.579/1.579, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.0008402/0.0008404, allocations: 89.83 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.737e-05/1.739e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6623/0.6624, allocations: 116.3 MB / 0.9733 GB, free: 76.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.539/5.201, allocations: 2.076 GB / 3.05 GB, free: 7.488 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001945/5.201, allocations: 84.86 kB / 3.05 GB, free: 7.445 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6978/5.899, allocations: 95.63 MB / 3.143 GB, free: 305.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.345e-06/5.899, allocations: 4 kB / 3.143 GB, free: 305.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.202e-05/5.899, allocations: 40 kB / 3.143 GB, free: 305.7 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: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.00339/5.903, allocations: 1.856 MB / 3.145 GB, free: 303.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/5.903, allocations: 12.03 kB / 3.145 GB, free: 303.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01177/5.914, allocations: 1.796 MB / 3.147 GB, free: 302 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/5.917, allocations: 1.032 MB / 3.148 GB, free: 300.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.475e-05/5.917, allocations: 67.95 kB / 3.148 GB, free: 300.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002582/5.917, allocations: 104 kB / 3.148 GB, free: 300.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003941/5.921, allocations: 2.764 MB / 3.151 GB, free: 298 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003028/5.924, allocations: 2.084 MB / 3.153 GB, free: 295.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/5.924, allocations: 4 kB / 3.153 GB, free: 295.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002092/5.924, allocations: 0 / 3.153 GB, free: 295.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/5.924, allocations: 44 kB / 3.153 GB, free: 295.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01115/5.935, allocations: 5.929 MB / 3.159 GB, free: 289.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002283/5.938, allocations: 1.9 MB / 3.16 GB, free: 287.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001173/5.939, allocations: 0.9857 MB / 3.161 GB, free: 286.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006603/5.94, allocations: 0.4996 MB / 3.162 GB, free: 286.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001566/5.941, allocations: 1.237 MB / 3.163 GB, free: 285.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=192): time 4.038e-06/5.941, allocations: 96 / 3.163 GB, free: 285.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=192): time 0.01067/5.952, allocations: 3.386 MB / 3.166 GB, free: 281.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/5.952, allocations: 265.3 kB / 3.167 GB, free: 281.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008514/5.953, allocations: 0.6607 MB / 3.167 GB, free: 280.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001875/5.953, allocations: 25.7 kB / 3.167 GB, free: 280.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003695/5.953, allocations: 0.6294 MB / 3.168 GB, free: 280 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003963/5.954, allocations: 0.5963 MB / 3.168 GB, free: 279.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/5.954, allocations: 0 / 3.168 GB, free: 279.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.801e-05/5.954, allocations: 366 kB / 3.169 GB, free: 279.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/5.955, allocations: 0.7459 MB / 3.17 GB, free: 278.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/5.956, allocations: 0.9306 MB / 3.17 GB, free: 277.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00982/5.966, allocations: 2.211 MB / 3.173 GB, free: 275.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.568e-05/5.966, allocations: 4 kB / 3.173 GB, free: 275.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01824/5.984, allocations: 3.421 MB / 3.176 GB, free: 271.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/5.984, allocations: 5.094 kB / 3.176 GB, free: 271.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/5.984, allocations: 4 kB / 3.176 GB, free: 271.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008011/5.985, allocations: 96.75 kB / 3.176 GB, free: 271.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005099/5.99, allocations: 0.5383 MB / 3.177 GB, free: 271.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/5.992, allocations: 1.465 MB / 3.178 GB, free: 269.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004455/5.997, allocations: 266.6 kB / 3.178 GB, free: 269.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000614/5.998, allocations: 83.28 kB / 3.178 GB, free: 269.1 MB / 0.948 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.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 (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.0009294/5.999, allocations: 132.6 kB / 3.178 GB, free: 269 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0187/6.017, allocations: 3.39 MB / 3.182 GB, free: 265.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007736/6.018, allocations: 134.4 kB / 3.182 GB, free: 265.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02232/6.04, allocations: 3.972 MB / 3.186 GB, free: 261.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.112e-05/6.04, allocations: 20 kB / 3.186 GB, free: 261.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/6.041, allocations: 2.719 kB / 3.186 GB, free: 261.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.386e-05/6.041, allocations: 11.92 kB / 3.186 GB, free: 261.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02597/6.067, allocations: 5.948 MB / 3.192 GB, free: 255.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/6.067, allocations: 0 / 3.192 GB, free: 255.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005877/6.073, allocations: 0.5305 MB / 3.192 GB, free: 254.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008138/6.073, allocations: 84.78 kB / 3.192 GB, free: 254.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00053/6.074, allocations: 43.92 kB / 3.192 GB, free: 254.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002381/6.076, allocations: 1.496 MB / 3.194 GB, free: 253.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/6.076, allocations: 0 / 3.194 GB, free: 253.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01996/6.096, allocations: 3.57 MB / 3.197 GB, free: 249.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00208/6.098, allocations: 0.5258 MB / 3.198 GB, free: 249 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008394/6.099, allocations: 0 / 3.198 GB, free: 249 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004617/6.104, allocations: 215.8 kB / 3.198 GB, free: 248.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005025/6.105, allocations: 121.8 kB / 3.198 GB, free: 248.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005226/6.105, allocations: 79.92 kB / 3.198 GB, free: 248.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001596/6.107, allocations: 0.546 MB / 3.199 GB, free: 248.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.71e-07/6.107, allocations: 0 / 3.199 GB, free: 248.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003466/6.11, allocations: 0.545 MB / 3.199 GB, free: 247.5 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.conTim.tNext,weaDat.conTimMin.tNext) * 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.02278/6.133, allocations: 5.107 MB / 3.204 GB, free: 242.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006265/6.139, allocations: 2.073 MB / 3.206 GB, free: 240.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/6.139, allocations: 0 / 3.206 GB, free: 240.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003334/6.143, allocations: 1.22 MB / 3.207 GB, free: 239.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002991/6.146, allocations: 232.3 kB / 3.208 GB, free: 239 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/6.159, allocations: 2.932 MB / 3.21 GB, free: 236 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001251/6.16, allocations: 1.355 MB / 3.212 GB, free: 234.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.007441/6.168, allocations: 0.5398 MB / 3.212 GB, free: 234.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00282/6.17, allocations: 0.7451 MB / 3.213 GB, free: 233.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.482e-06/6.17, allocations: 4 kB / 3.213 GB, free: 233.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08357/6.254, allocations: 40.13 MB / 3.252 GB, free: 193.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/6.254, allocations: 196.1 kB / 3.252 GB, free: 193.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.321/9.575, allocations: 8 kB / 3.252 GB, free: 193.1 MB / 0.948 GB (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)