Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.558/1.558, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001266/0.001266, allocations: 175.8 kB / 326.5 MB, free: 2.25 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.987/1.987, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.001013/0.001012, allocations: 94.94 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003508, allocations: 9.5 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2484, allocations: 106.4 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.003821/0.2522, allocations: 3.515 MB / 0.9036 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1531/0.4054, allocations: 127.4 MB / 1.028 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008524/0.4063, allocations: 11.94 kB / 1.028 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003894/0.4067, allocations: 71.34 kB / 1.028 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.4081, allocations: 433.4 kB / 1.028 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.4099, allocations: 0.5927 MB / 1.029 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001223/0.4111, allocations: 0.748 MB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006967/0.4118, allocations: 459.1 kB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005264/0.4123, allocations: 310.7 kB / 1.03 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003963/0.4127, allocations: 302.4 kB / 1.031 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.999e-05/0.4128, allocations: 24 kB / 1.031 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007103/0.4135, allocations: 247.6 kB / 1.031 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.4137, allocations: 163.3 kB / 1.031 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.4139, allocations: 181.1 kB / 1.031 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.4151, allocations: 1.029 MB / 1.032 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4151, allocations: 0 / 1.032 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4151, allocations: 0 / 1.032 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.4151, allocations: 0 / 1.032 GB, free: 8.086 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.002139/0.4173, allocations: 1.128 MB / 1.033 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.4173, allocations: 8.031 kB / 1.033 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000156/0.4175, allocations: 126.9 kB / 1.034 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008617/0.4183, allocations: 194.5 kB / 1.034 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.4194, allocations: 0.6797 MB / 1.034 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.926e-05/0.4195, allocations: 58 kB / 1.035 GB, free: 5.797 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.4196, allocations: 76 kB / 1.035 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.421, allocations: 0.8637 MB / 1.035 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.4211, allocations: 11.81 kB / 1.035 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.96e-05/0.4211, allocations: 32 kB / 1.035 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.4212, allocations: 27.95 kB / 1.035 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.4228, allocations: 1.089 MB / 1.037 GB, free: 3.656 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003979/0.4268, allocations: 2.419 MB / 1.039 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.4281, allocations: 0.7416 MB / 1.04 GB, free: 428 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.6e-05/0.4282, allocations: 36.58 kB / 1.04 GB, free: 392 kB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008317/0.4291, allocations: 444.3 kB / 1.04 GB, free: 15.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 3.957e-06/0.4291, allocations: 0 / 1.04 GB, free: 15.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.002928/0.432, allocations: 1.124 MB / 1.041 GB, free: 14.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.949e-05/0.4321, allocations: 188.6 kB / 1.041 GB, free: 14.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007769/0.4329, allocations: 0.5705 MB / 1.042 GB, free: 13.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.213e-05/0.433, allocations: 41.7 kB / 1.042 GB, free: 13.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003264/0.4333, allocations: 384.2 kB / 1.042 GB, free: 13.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.4336, allocations: 248.4 kB / 1.043 GB, free: 13.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.4336, allocations: 16 kB / 1.043 GB, free: 13.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.4338, allocations: 374.8 kB / 1.043 GB, free: 12.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004571/0.4342, allocations: 237.8 kB / 1.043 GB, free: 12.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005487/0.4348, allocations: 338.2 kB / 1.043 GB, free: 12.32 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005215/0.4353, allocations: 275.1 kB / 1.044 GB, free: 12.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.4353, allocations: 0 / 1.044 GB, free: 12.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001745/0.4371, allocations: 0.7626 MB / 1.045 GB, free: 11.28 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.4371, allocations: 4 kB / 1.045 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.4372, allocations: 3.938 kB / 1.045 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005867/0.4377, allocations: 84.88 kB / 1.045 GB, free: 11.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006228/0.4384, allocations: 155.8 kB / 1.045 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/0.4404, allocations: 1.53 MB / 1.046 GB, free: 9.363 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006653/0.4411, allocations: 82.55 kB / 1.046 GB, free: 9.285 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.527e-05/0.4412, allocations: 35.97 kB / 1.046 GB, free: 9.25 MB / 0.698 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * 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.0004429/0.4416, allocations: 252.3 kB / 1.047 GB, free: 8.996 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.4418, allocations: 75.39 kB / 1.047 GB, free: 8.922 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002312/0.4441, allocations: 1.053 MB / 1.048 GB, free: 7.852 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.4441, allocations: 8 kB / 1.048 GB, free: 7.844 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.4441, allocations: 4 kB / 1.048 GB, free: 7.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.4441, allocations: 7.969 kB / 1.048 GB, free: 7.832 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00336/0.4475, allocations: 1.876 MB / 1.05 GB, free: 5.898 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.4475, allocations: 0 / 1.05 GB, free: 5.898 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005938/0.4481, allocations: 155.8 kB / 1.05 GB, free: 5.746 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005099/0.4487, allocations: 84.77 kB / 1.05 GB, free: 5.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.623e-05/0.4487, allocations: 23.98 kB / 1.05 GB, free: 5.637 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001923/0.4507, allocations: 1.556 MB / 1.051 GB, free: 3.934 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4507, allocations: 3.938 kB / 1.051 GB, free: 3.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.4526, allocations: 0.9337 MB / 1.052 GB, free: 2.977 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005695/0.4532, allocations: 275.7 kB / 1.052 GB, free: 2.688 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/0.4534, allocations: 16 kB / 1.053 GB, free: 2.672 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006243/0.454, allocations: 72.59 kB / 1.053 GB, free: 2.602 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.4542, allocations: 56.86 kB / 1.053 GB, free: 2.547 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.16e-05/0.4542, allocations: 35.97 kB / 1.053 GB, free: 2.512 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006505/0.4549, allocations: 427 kB / 1.053 GB, free: 2.102 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4549, allocations: 0 / 1.053 GB, free: 2.102 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009804/0.4559, allocations: 271.2 kB / 1.053 GB, free: 1.836 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 (87): * Single equations (assignments): 84 * 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.003349/0.4593, allocations: 1.933 MB / 1.055 GB, free: 36 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.4295/0.8887, allocations: 0.7445 MB / 1.056 GB, free: 153.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.8888, allocations: 1.844 kB / 1.056 GB, free: 153.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000886/0.8897, allocations: 0.4988 MB / 1.056 GB, free: 153.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.891, allocations: 228.3 kB / 1.057 GB, free: 153.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009338/0.9003, allocations: 5.123 MB / 1.062 GB, free: 151.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006744/0.9011, allocations: 1.024 MB / 1.063 GB, free: 151.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001002/0.9021, allocations: 264 kB / 1.063 GB, free: 151.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005048/0.9026, allocations: 359 kB / 1.063 GB, free: 151.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.432e-06/0.9026, allocations: 0 / 1.063 GB, free: 151.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05369/0.9563, allocations: 19.79 MB / 1.083 GB, free: 144.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/0.9565, allocations: 295.5 kB / 1.083 GB, free: 144 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.747/3.704, allocations: 5.734 kB / 1.083 GB, free: 144 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)