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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008149/0.0008149, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000924/0.0009241, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.224/1.224, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.544/1.544, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004653, allocations: 12.84 kB / 0.6735 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1803, allocations: 116.3 MB / 0.7871 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005494/0.1858, allocations: 5.106 MB / 0.7921 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5029/0.6887, allocations: 128.1 MB / 0.9172 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008463/0.6896, allocations: 23.28 kB / 0.9172 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004259/0.69, allocations: 112.9 kB / 0.9173 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.6915, allocations: 0.5566 MB / 0.9179 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.6936, allocations: 0.8995 MB / 0.9187 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001823/0.6955, allocations: 1.35 MB / 0.9201 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.6967, allocations: 1.121 MB / 0.9211 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007927/0.6975, allocations: 0.6883 MB / 0.9218 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007775/0.6982, allocations: 0.7506 MB / 0.9226 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.6984, allocations: 54 kB / 0.9226 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006712/0.6991, allocations: 300.5 kB / 0.9229 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003172/0.6994, allocations: 342.9 kB / 0.9232 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004169/0.6998, allocations: 350.5 kB / 0.9236 GB, free: 21.07 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002285/0.7021, allocations: 2.299 MB / 0.9258 GB, free: 20.93 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.7021, allocations: 2.906 kB / 0.9258 GB, free: 20.93 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7021, allocations: 0 / 0.9258 GB, free: 20.93 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.971e-05/0.7022, allocations: 0 / 0.9258 GB, free: 20.93 MB / 0.7325 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.003976/0.7062, allocations: 2.077 MB / 0.9278 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.7062, allocations: 12.72 kB / 0.9278 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0138/0.72, allocations: 2.202 MB / 0.93 GB, free: 19.67 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.7217, allocations: 1.137 MB / 0.9311 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.7219, allocations: 156.1 kB / 0.9312 GB, free: 19.31 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003547/0.7223, allocations: 201.6 kB / 0.9314 GB, free: 19.31 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007414/0.7297, allocations: 3.08 MB / 0.9344 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.67e-05/0.7297, allocations: 0.625 kB / 0.9344 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00025/0.73, allocations: 88.53 kB / 0.9345 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.674e-05/0.7301, allocations: 50.66 kB / 0.9346 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01113/0.7412, allocations: 4.075 MB / 0.9386 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01181/0.753, allocations: 6.605 MB / 0.945 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007844/0.7609, allocations: 2.731 MB / 0.9477 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006938/0.7616, allocations: 0.5057 MB / 0.9482 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003937/0.7655, allocations: 1.624 MB / 0.9498 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=192): time 3.146e-06/0.7655, allocations: 0 / 0.9498 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=192): time 0.01181/0.7774, allocations: 4.05 MB / 0.9537 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.831e-05/0.7775, allocations: 205.4 kB / 0.9539 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000955/0.7784, allocations: 0.8288 MB / 0.9547 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001871/0.7786, allocations: 59.27 kB / 0.9548 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004103/0.779, allocations: 0.694 MB / 0.9555 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004085/0.7795, allocations: 0.6178 MB / 0.9561 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.7796, allocations: 32.56 kB / 0.9561 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.7798, allocations: 372.7 kB / 0.9564 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003394/0.7832, allocations: 1.12 MB / 0.9575 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003466/0.7866, allocations: 1.292 MB / 0.9588 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003385/0.79, allocations: 1.168 MB / 0.9599 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.79, allocations: 0 / 0.9599 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=206) (initialization): time 0.007884/0.7979, allocations: 2.805 MB / 0.9627 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.798, allocations: 5.656 kB / 0.9627 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.798, allocations: 0 / 0.9627 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005453/0.7985, allocations: 87.17 kB / 0.9628 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003126/0.8017, allocations: 0.5441 MB / 0.9633 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/0.8035, allocations: 1.534 MB / 0.9648 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002464/0.8059, allocations: 322.8 kB / 0.9651 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/0.8061, allocations: 93.89 kB / 0.9652 GB, free: 10.41 MB / 0.7325 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.0008873/0.807, allocations: 408.5 kB / 0.9656 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002521/0.8073, allocations: 140.4 kB / 0.9657 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009266/0.8166, allocations: 3.378 MB / 0.969 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.8166, allocations: 21.47 kB / 0.969 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.8166, allocations: 0 / 0.969 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/0.8166, allocations: 11.97 kB / 0.969 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/0.8276, allocations: 5.584 MB / 0.9745 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.8277, allocations: 4 kB / 0.9745 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002946/0.8306, allocations: 0.5292 MB / 0.975 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004801/0.8311, allocations: 88.08 kB / 0.9751 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001682/0.8313, allocations: 65.92 kB / 0.9752 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.8331, allocations: 1.558 MB / 0.9767 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.8332, allocations: 9.828 kB / 0.9767 GB, free: 6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00804/0.8412, allocations: 2.946 MB / 0.9796 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008177/0.842, allocations: 0.5272 MB / 0.9801 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002761/0.8423, allocations: 41.03 kB / 0.9801 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002377/0.8447, allocations: 242.8 kB / 0.9804 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/0.8449, allocations: 123.9 kB / 0.9805 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001789/0.8451, allocations: 80.89 kB / 0.9806 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007264/0.8458, allocations: 0.6165 MB / 0.9812 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8458, allocations: 0 / 0.9812 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001409/0.8472, allocations: 0.5621 MB / 0.9817 GB, free: 4.492 MB / 0.7325 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.001248/0.8485, allocations: 0.5979 MB / 0.9823 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007531/0.856, allocations: 2.837 MB / 0.9851 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.8561, allocations: 5.844 kB / 0.9851 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003875/0.8599, allocations: 1.607 MB / 0.9866 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.8611, allocations: 283.2 kB / 0.9869 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008261/0.8694, allocations: 4.661 MB / 0.9915 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008246/0.8702, allocations: 1.395 MB / 0.9928 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002847/0.8731, allocations: 0.5497 MB / 0.9934 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008485/0.8739, allocations: 218.5 kB / 0.9936 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of SimCode: time 4.21e-07/0.8739, allocations: 0 / 0.9936 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of Templates: time 0.03544/0.9094, allocations: 25.03 MB / 1.018 GB, free: 6.594 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) Environment - environmentSimulation: