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.727/1.727, allocations: 285.6 MB / 293.1 MB, free: 10.29 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.001116/0.001116, allocations: 192.8 kB / 361.4 MB, free: 6.852 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.225/2.225, allocations: 205.3 MB / 0.62 GB, free: 11.69 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.001158/0.001157, allocations: 83.41 kB / 0.733 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.392e-05/2.384e-05, allocations: 0 / 0.8518 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.142/1.142, allocations: 115.3 MB / 0.9644 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.981/8.123, allocations: 2.074 GB / 3.038 GB, free: 86.86 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/8.124, allocations: 90.66 kB / 3.038 GB, free: 86.77 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1793/8.303, allocations: 81.35 MB / 3.118 GB, free: 5.414 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.807e-06/8.303, allocations: 0 / 3.118 GB, free: 5.414 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001561/8.303, allocations: 32 kB / 3.118 GB, free: 5.383 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: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.003745/8.307, allocations: 1.294 MB / 3.119 GB, free: 4.035 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/8.307, allocations: 8.031 kB / 3.119 GB, free: 4.027 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/8.308, allocations: 232.9 kB / 3.119 GB, free: 3.801 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/8.31, allocations: 0.7366 MB / 3.12 GB, free: 3.023 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/8.31, allocations: 84.03 kB / 3.12 GB, free: 2.934 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/8.31, allocations: 72 kB / 3.12 GB, free: 2.863 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001778/8.312, allocations: 1.242 MB / 3.121 GB, free: 1.617 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/8.313, allocations: 1.019 MB / 3.122 GB, free: 0.5391 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/8.313, allocations: 0 / 3.122 GB, free: 0.5391 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.073e-05/8.313, allocations: 8 kB / 3.122 GB, free: 0.5312 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/8.314, allocations: 31.95 kB / 3.122 GB, free: 0.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6415/8.955, allocations: 3.132 MB / 3.125 GB, free: 311.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/8.957, allocations: 0.8185 MB / 3.126 GB, free: 311.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005769/8.957, allocations: 320.6 kB / 3.126 GB, free: 311.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/8.957, allocations: 40.66 kB / 3.126 GB, free: 311.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/8.958, allocations: 0.4922 MB / 3.127 GB, free: 311.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=93): time 3.768e-06/8.959, allocations: 0 / 3.127 GB, free: 311.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=93): time 0.002342/8.961, allocations: 0.833 MB / 3.128 GB, free: 311.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/8.961, allocations: 248.3 kB / 3.128 GB, free: 311.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/8.962, allocations: 0.5869 MB / 3.129 GB, free: 311.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/8.962, allocations: 31.45 kB / 3.129 GB, free: 311.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004596/8.963, allocations: 0.5133 MB / 3.129 GB, free: 311.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002502/8.963, allocations: 297 kB / 3.129 GB, free: 310.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/8.963, allocations: 0 / 3.129 GB, free: 310.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001717/8.963, allocations: 392.8 kB / 3.13 GB, free: 310.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005783/8.964, allocations: 270.9 kB / 3.13 GB, free: 310.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006894/8.964, allocations: 397 kB / 3.13 GB, free: 310.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005914/8.965, allocations: 337.7 kB / 3.131 GB, free: 310.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/8.965, allocations: 0 / 3.131 GB, free: 310.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001775/8.967, allocations: 0.8808 MB / 3.132 GB, free: 310.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/8.967, allocations: 6.469 kB / 3.132 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/8.967, allocations: 3 kB / 3.132 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000564/8.968, allocations: 85.92 kB / 3.132 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008003/8.968, allocations: 189.1 kB / 3.132 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/8.97, allocations: 1.469 MB / 3.133 GB, free: 309.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008391/8.971, allocations: 72.47 kB / 3.133 GB, free: 309.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-05/8.971, allocations: 34 kB / 3.133 GB, free: 309.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (102): * Single equations (assignments): 101 * 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.0002277/8.971, allocations: 129.5 kB / 3.134 GB, free: 309 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001723/8.973, allocations: 0.8361 MB / 3.134 GB, free: 308.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/8.973, allocations: 93.77 kB / 3.134 GB, free: 308.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002731/8.976, allocations: 1.188 MB / 3.136 GB, free: 308.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/8.976, allocations: 12.88 kB / 3.136 GB, free: 308.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/8.976, allocations: 3.75 kB / 3.136 GB, free: 308.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/8.976, allocations: 7.75 kB / 3.136 GB, free: 308.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004052/8.98, allocations: 2.207 MB / 3.138 GB, free: 308.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/8.98, allocations: 0 / 3.138 GB, free: 308.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007378/8.981, allocations: 183.4 kB / 3.138 GB, free: 308.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005/8.981, allocations: 85.45 kB / 3.138 GB, free: 308.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.176e-05/8.981, allocations: 15.52 kB / 3.138 GB, free: 308.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/8.983, allocations: 1.491 MB / 3.139 GB, free: 307.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/8.983, allocations: 3.953 kB / 3.139 GB, free: 307.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/8.985, allocations: 1.011 MB / 3.14 GB, free: 306.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005738/8.985, allocations: 347.2 kB / 3.141 GB, free: 306.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/8.986, allocations: 5.625 kB / 3.141 GB, free: 306.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007354/8.986, allocations: 54.39 kB / 3.141 GB, free: 306.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/8.986, allocations: 76.64 kB / 3.141 GB, free: 306.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.561e-05/8.987, allocations: 37.36 kB / 3.141 GB, free: 306.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007557/8.987, allocations: 0.49 MB / 3.141 GB, free: 306.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.41e-07/8.987, allocations: 0 / 3.141 GB, free: 306.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001511/8.989, allocations: 385.7 kB / 3.142 GB, free: 306.7 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 (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.004387/8.993, allocations: 2.514 MB / 3.144 GB, free: 305.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00193/8.995, allocations: 0.8431 MB / 3.145 GB, free: 305.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/8.995, allocations: 0 / 3.145 GB, free: 305.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009991/8.996, allocations: 0.5355 MB / 3.146 GB, free: 305.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/8.998, allocations: 229.6 kB / 3.146 GB, free: 305.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005462/9.003, allocations: 1.85 MB / 3.148 GB, free: 305.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008261/9.004, allocations: 1.149 MB / 3.149 GB, free: 304.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001175/9.005, allocations: 282.9 kB / 3.149 GB, free: 304.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008066/9.006, allocations: 498.2 kB / 3.15 GB, free: 304.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.062e-06/9.006, allocations: 0 / 3.15 GB, free: 304.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07917/9.085, allocations: 27.47 MB / 3.176 GB, free: 302.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/9.085, allocations: 212.7 kB / 3.177 GB, free: 302.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.608/12.69, allocations: 0 / 3.177 GB, free: 302.3 MB / 0.948 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)