Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.65/1.65, allocations: 288.2 MB / 303.2 MB, free: 8.102 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.00125/0.00125, allocations: 185.1 kB / 371.8 MB, free: 10.28 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.761/1.761, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008046/0.0008046, allocations: 89.75 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004638/0.000464, allocations: 11.03 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2798, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.004787/0.2847, allocations: 4.201 MB / 0.9836 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7854/1.07, allocations: 127.5 MB / 1.108 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/1.072, allocations: 16.31 kB / 1.108 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000606/1.072, allocations: 88.25 kB / 1.108 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002608/1.075, allocations: 0.5145 MB / 1.109 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002661/1.078, allocations: 0.6804 MB / 1.109 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002702/1.08, allocations: 0.9514 MB / 1.11 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001953/1.082, allocations: 0.8752 MB / 1.111 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001563/1.084, allocations: 442.4 kB / 1.112 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000885/1.085, allocations: 438.1 kB / 1.112 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001209/1.085, allocations: 28.28 kB / 1.112 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/1.086, allocations: 256.1 kB / 1.112 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003015/1.086, allocations: 226.2 kB / 1.112 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003673/1.087, allocations: 266.6 kB / 1.113 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002695/1.089, allocations: 1.627 MB / 1.114 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/1.089, allocations: 0 / 1.114 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.224e-06/1.089, allocations: 0 / 1.114 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.052e-05/1.089, allocations: 4 kB / 1.114 GB, free: 1.148 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.003713/1.093, allocations: 1.49 MB / 1.116 GB, free: 16.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/1.093, allocations: 11.92 kB / 1.116 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003656/1.094, allocations: 211 kB / 1.116 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/1.095, allocations: 249.5 kB / 1.116 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/1.096, allocations: 0.8684 MB / 1.117 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/1.097, allocations: 140.9 kB / 1.117 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002039/1.097, allocations: 139.7 kB / 1.117 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003095/1.1, allocations: 1.411 MB / 1.119 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/1.1, allocations: 0 / 1.119 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/1.1, allocations: 61.36 kB / 1.119 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.216e-05/1.1, allocations: 34.19 kB / 1.119 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002865/1.103, allocations: 1.463 MB / 1.12 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007357/1.11, allocations: 3.8 MB / 1.124 GB, free: 14.35 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/1.112, allocations: 0.9046 MB / 1.125 GB, free: 14.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/1.112, allocations: 46.12 kB / 1.125 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/1.113, allocations: 0.5396 MB / 1.125 GB, free: 14 MB / 0.698 GB Notification: Performance of pre-optimization done (n=93): time 3.497e-06/1.113, allocations: 11.88 kB / 1.125 GB, free: 13.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=93): time 0.00367/1.117, allocations: 1.376 MB / 1.127 GB, free: 13.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/1.117, allocations: 191.6 kB / 1.127 GB, free: 13.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/1.118, allocations: 0.7377 MB / 1.128 GB, free: 13.15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001243/1.118, allocations: 49.84 kB / 1.128 GB, free: 13.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000581/1.119, allocations: 0.5806 MB / 1.128 GB, free: 12.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003387/1.119, allocations: 305.2 kB / 1.129 GB, free: 12.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.783e-05/1.119, allocations: 24.91 kB / 1.129 GB, free: 12.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001631/1.12, allocations: 343.5 kB / 1.129 GB, free: 12.22 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005719/1.12, allocations: 303.7 kB / 1.129 GB, free: 12.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006353/1.121, allocations: 432.9 kB / 1.13 GB, free: 12.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006594/1.121, allocations: 377.7 kB / 1.13 GB, free: 12 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/1.122, allocations: 0 / 1.13 GB, free: 12 MB / 0.698 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002206/1.124, allocations: 0.9768 MB / 1.131 GB, free: 11.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/1.124, allocations: 5.656 kB / 1.131 GB, free: 11.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/1.124, allocations: 1.594 kB / 1.131 GB, free: 11.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006048/1.124, allocations: 80.09 kB / 1.131 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008668/1.125, allocations: 190.9 kB / 1.131 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/1.127, allocations: 1.552 MB / 1.133 GB, free: 10.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/1.128, allocations: 104.8 kB / 1.133 GB, free: 10.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.433e-05/1.128, allocations: 41.19 kB / 1.133 GB, free: 10.25 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (103): * Single equations (assignments): 102 * 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.0008236/1.129, allocations: 311.6 kB / 1.133 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/1.13, allocations: 93.81 kB / 1.133 GB, free: 10.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003051/1.133, allocations: 1.317 MB / 1.135 GB, free: 9.688 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/1.133, allocations: 10.69 kB / 1.135 GB, free: 9.688 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/1.133, allocations: 0 / 1.135 GB, free: 9.688 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/1.133, allocations: 3.984 kB / 1.135 GB, free: 9.684 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004889/1.138, allocations: 2.493 MB / 1.137 GB, free: 8.816 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/1.138, allocations: 7.984 kB / 1.137 GB, free: 8.809 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007875/1.138, allocations: 179.8 kB / 1.137 GB, free: 8.777 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005196/1.139, allocations: 80.44 kB / 1.137 GB, free: 8.746 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.2e-05/1.139, allocations: 35.16 kB / 1.137 GB, free: 8.734 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/1.141, allocations: 1.58 MB / 1.139 GB, free: 7.359 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.141, allocations: 0 / 1.139 GB, free: 7.359 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002473/1.144, allocations: 1.118 MB / 1.14 GB, free: 7.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006428/1.144, allocations: 346 kB / 1.14 GB, free: 6.797 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/1.144, allocations: 17.41 kB / 1.14 GB, free: 6.797 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007413/1.145, allocations: 81.88 kB / 1.14 GB, free: 6.777 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/1.145, allocations: 69.98 kB / 1.14 GB, free: 6.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.011e-05/1.145, allocations: 39.03 kB / 1.14 GB, free: 6.742 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009079/1.146, allocations: 0.5461 MB / 1.141 GB, free: 6.574 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.222e-06/1.146, allocations: 0 / 1.141 GB, free: 6.574 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001419/1.148, allocations: 374.2 kB / 1.141 GB, free: 6.488 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 (107): * Single equations (assignments): 104 * 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.00384/1.152, allocations: 2.124 MB / 1.143 GB, free: 5.445 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002081/1.154, allocations: 0.9347 MB / 1.144 GB, free: 5.199 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.154, allocations: 0 / 1.144 GB, free: 5.199 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/1.155, allocations: 0.5763 MB / 1.145 GB, free: 5.012 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/1.156, allocations: 262.1 kB / 1.145 GB, free: 4.934 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007602/1.164, allocations: 4.112 MB / 1.149 GB, free: 2.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008765/1.165, allocations: 1.187 MB / 1.15 GB, free: 1.336 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001212/1.166, allocations: 292.4 kB / 1.151 GB, free: 1.195 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007838/1.167, allocations: 0.5418 MB / 1.151 GB, free: 1.125 MB / 0.698 GB Notification: Performance of SimCode: time 8.51e-07/1.167, allocations: 1.125 kB / 1.151 GB, free: 1.125 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05951/1.226, allocations: 24.69 MB / 1.175 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002693/1.227, allocations: 294.5 kB / 1.175 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.047/4.273, allocations: 0 / 1.175 GB, free: 2.852 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)