Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.DirectTiltedSurface,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.609/1.609, allocations: 251.9 MB / 266.9 MB, free: 11.06 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.001241/0.001241, allocations: 189.3 kB / 326.5 MB, free: 2.246 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.884/1.884, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009552/0.0009553, allocations: 94.3 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003585, allocations: 9.906 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2508, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.004695/0.2555, allocations: 4.205 MB / 0.9042 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1627/0.4183, allocations: 127.5 MB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.4196, allocations: 19.88 kB / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004871/0.4201, allocations: 91.19 kB / 1.029 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001964/0.4221, allocations: 0.511 MB / 1.029 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002093/0.4242, allocations: 0.6741 MB / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002091/0.4263, allocations: 0.9579 MB / 1.031 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001327/0.4276, allocations: 0.879 MB / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009274/0.4285, allocations: 433.9 kB / 1.032 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006003/0.4291, allocations: 441.4 kB / 1.033 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.801e-05/0.4292, allocations: 28 kB / 1.033 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007474/0.43, allocations: 255.7 kB / 1.033 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002295/0.4302, allocations: 219 kB / 1.033 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002629/0.4305, allocations: 268.8 kB / 1.033 GB, free: 7.02 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.4323, allocations: 1.629 MB / 1.035 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4323, allocations: 0 / 1.035 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4323, allocations: 4 kB / 1.035 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.105e-05/0.4323, allocations: 0 / 1.035 GB, free: 5.383 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.002923/0.4353, allocations: 1.486 MB / 1.036 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.4353, allocations: 8.031 kB / 1.036 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000275/0.4356, allocations: 215.1 kB / 1.037 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009839/0.4366, allocations: 245.8 kB / 1.037 GB, free: 3.375 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.438, allocations: 0.8681 MB / 1.038 GB, free: 2.465 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.4382, allocations: 140.5 kB / 1.038 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.4383, allocations: 136 kB / 1.038 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/0.4406, allocations: 1.408 MB / 1.039 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.4407, allocations: 7.938 kB / 1.039 GB, free: 0.7148 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/0.4408, allocations: 67.95 kB / 1.039 GB, free: 0.6484 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.28e-05/0.4409, allocations: 32 kB / 1.039 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002365/0.4432, allocations: 1.463 MB / 1.041 GB, free: 15.14 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006445/0.4497, allocations: 3.796 MB / 1.045 GB, free: 11.28 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.4513, allocations: 0.8997 MB / 1.045 GB, free: 10.37 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.4514, allocations: 45.06 kB / 1.046 GB, free: 10.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009994/0.4524, allocations: 0.5436 MB / 1.046 GB, free: 9.766 MB / 0.698 GB Notification: Performance of pre-optimization done (n=93): time 2.855e-06/0.4524, allocations: 0 / 1.046 GB, free: 9.766 MB / 0.698 GB Notification: Performance of matching and sorting (n=93): time 0.003328/0.4558, allocations: 1.378 MB / 1.047 GB, free: 8.359 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.4559, allocations: 192.9 kB / 1.048 GB, free: 8.129 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.4569, allocations: 0.7316 MB / 1.048 GB, free: 7.383 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.243e-05/0.457, allocations: 53.69 kB / 1.048 GB, free: 7.324 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004879/0.4575, allocations: 0.5814 MB / 1.049 GB, free: 6.734 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000266/0.4578, allocations: 311.5 kB / 1.049 GB, free: 6.426 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/0.4579, allocations: 16 kB / 1.049 GB, free: 6.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.458, allocations: 341.9 kB / 1.05 GB, free: 6.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000579/0.4586, allocations: 301.8 kB / 1.05 GB, free: 5.773 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006658/0.4593, allocations: 435.3 kB / 1.05 GB, free: 5.32 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006742/0.46, allocations: 374.9 kB / 1.051 GB, free: 4.957 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.46, allocations: 0 / 1.051 GB, free: 4.957 MB / 0.698 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002136/0.4621, allocations: 0.9814 MB / 1.052 GB, free: 3.961 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.4622, allocations: 4 kB / 1.052 GB, free: 3.957 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.4622, allocations: 0 / 1.052 GB, free: 3.957 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005879/0.4628, allocations: 88.81 kB / 1.052 GB, free: 3.867 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000778/0.4636, allocations: 183.8 kB / 1.052 GB, free: 3.688 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.4657, allocations: 1.56 MB / 1.053 GB, free: 1.992 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008411/0.4665, allocations: 102.3 kB / 1.053 GB, free: 1.895 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/0.4666, allocations: 39.97 kB / 1.054 GB, free: 1.855 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.0006841/0.4673, allocations: 315.1 kB / 1.054 GB, free: 1.543 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/0.4675, allocations: 98.78 kB / 1.054 GB, free: 1.445 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002862/0.4704, allocations: 1.321 MB / 1.055 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.4704, allocations: 12 kB / 1.055 GB, free: 96 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.4704, allocations: 0 / 1.055 GB, free: 96 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.4704, allocations: 7.922 kB / 1.055 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5124/0.9829, allocations: 2.491 MB / 1.058 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.9829, allocations: 0 / 1.058 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006878/0.9836, allocations: 180.9 kB / 1.058 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005018/0.9841, allocations: 85.47 kB / 1.058 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.428e-05/0.9842, allocations: 29.52 kB / 1.058 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/0.9858, allocations: 1.576 MB / 1.059 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.9859, allocations: 2.812 kB / 1.059 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/0.988, allocations: 1.114 MB / 1.061 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005955/0.9886, allocations: 343.3 kB / 1.061 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.9887, allocations: 20.77 kB / 1.061 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007301/0.9895, allocations: 81.28 kB / 1.061 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.9897, allocations: 70.98 kB / 1.061 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.241e-05/0.9898, allocations: 41.62 kB / 1.061 GB, free: 151.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008134/0.9906, allocations: 0.5408 MB / 1.062 GB, free: 151.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.11e-07/0.9906, allocations: 0 / 1.062 GB, free: 151.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00102/0.9916, allocations: 382.9 kB / 1.062 GB, free: 151 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.0034/0.995, allocations: 2.123 MB / 1.064 GB, free: 150.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001875/0.9969, allocations: 0.9268 MB / 1.065 GB, free: 150.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.9969, allocations: 0 / 1.065 GB, free: 150.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.998, allocations: 0.587 MB / 1.066 GB, free: 149.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.9994, allocations: 255 kB / 1.066 GB, free: 149.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007215/1.007, allocations: 4.106 MB / 1.07 GB, free: 147.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/1.008, allocations: 1.195 MB / 1.071 GB, free: 146.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001325/1.009, allocations: 297.5 kB / 1.071 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000854/1.01, allocations: 0.542 MB / 1.072 GB, free: 146.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.313e-06/1.01, allocations: 0 / 1.072 GB, free: 146.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07008/1.08, allocations: 24.68 MB / 1.096 GB, free: 132.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002447/1.08, allocations: 283 kB / 1.096 GB, free: 132 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.022/4.102, allocations: 4 kB / 1.096 GB, free: 132 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)