Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.512/1.512, 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.001217/0.001217, allocations: 189.4 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.913/1.913, 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.0008599/0.00086, allocations: 85.94 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.0003452, allocations: 11.97 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2431, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004469/0.2477, allocations: 3.534 MB / 0.9036 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1658/0.4135, allocations: 127.3 MB / 1.028 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/0.415, allocations: 15.88 kB / 1.028 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006298/0.4157, allocations: 67.41 kB / 1.028 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00255/0.4183, allocations: 432.9 kB / 1.028 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002804/0.4211, allocations: 0.6084 MB / 1.029 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002157/0.4233, allocations: 0.7363 MB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/0.4246, allocations: 0.5103 MB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.4258, allocations: 314.6 kB / 1.03 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006891/0.4265, allocations: 294.3 kB / 1.031 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.4266, allocations: 24 kB / 1.031 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.4278, allocations: 267.6 kB / 1.031 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002764/0.4281, allocations: 167.3 kB / 1.031 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003143/0.4284, allocations: 189.1 kB / 1.031 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002106/0.4305, allocations: 1.084 MB / 1.032 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.4306, allocations: 0 / 1.032 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.618e-06/0.4306, allocations: 0 / 1.032 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.718e-05/0.4306, allocations: 0 / 1.032 GB, free: 8.016 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.003388/0.434, allocations: 1.151 MB / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.617e-05/0.4341, allocations: 12.03 kB / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002599/0.4344, allocations: 147.4 kB / 1.034 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001656/0.436, allocations: 214.5 kB / 1.034 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/0.4379, allocations: 0.6953 MB / 1.035 GB, free: 5.703 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.438, allocations: 66 kB / 1.035 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/0.4382, allocations: 88 kB / 1.035 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002505/0.4407, allocations: 0.9184 MB / 1.036 GB, free: 4.594 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.4408, allocations: 0 / 1.036 GB, free: 4.594 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.4409, allocations: 36 kB / 1.036 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.208e-05/0.441, allocations: 35.89 kB / 1.036 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002872/0.4438, allocations: 1.116 MB / 1.037 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006266/0.4501, allocations: 2.55 MB / 1.039 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002157/0.4523, allocations: 0.7549 MB / 1.04 GB, free: 20 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009384/0.4533, allocations: 470.2 kB / 1.04 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001222/0.4545, allocations: 440.5 kB / 1.041 GB, free: 15.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 4.689e-06/0.4546, allocations: 3.938 kB / 1.041 GB, free: 15.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.004384/0.4589, allocations: 1.12 MB / 1.042 GB, free: 13.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/0.4591, allocations: 188.6 kB / 1.042 GB, free: 13.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.4602, allocations: 0.5745 MB / 1.043 GB, free: 13.06 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.916e-05/0.4603, allocations: 41.7 kB / 1.043 GB, free: 13.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004585/0.4608, allocations: 404 kB / 1.043 GB, free: 12.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002938/0.4611, allocations: 240.5 kB / 1.043 GB, free: 12.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.4612, allocations: 8 kB / 1.043 GB, free: 12.37 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002541/0.4614, allocations: 386.8 kB / 1.044 GB, free: 11.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006712/0.4621, allocations: 221.2 kB / 1.044 GB, free: 11.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000816/0.4629, allocations: 334.7 kB / 1.044 GB, free: 11.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000889/0.4639, allocations: 275.1 kB / 1.045 GB, free: 11.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.4639, allocations: 4 kB / 1.045 GB, free: 11.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002905/0.4668, allocations: 0.7431 MB / 1.045 GB, free: 10.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.538e-05/0.4668, allocations: 4 kB / 1.045 GB, free: 10.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.4669, allocations: 4 kB / 1.045 GB, free: 10.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008801/0.4678, allocations: 80.88 kB / 1.045 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.4688, allocations: 147.7 kB / 1.046 GB, free: 10.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003216/0.472, allocations: 1.532 MB / 1.047 GB, free: 8.477 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.4732, allocations: 88.91 kB / 1.047 GB, free: 8.391 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.876e-05/0.4734, allocations: 27.97 kB / 1.047 GB, free: 8.363 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 (76): * Single equations (assignments): 75 * 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.000901/0.4743, allocations: 257.6 kB / 1.047 GB, free: 8.102 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002888/0.4746, allocations: 75.06 kB / 1.047 GB, free: 8.027 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003955/0.4785, allocations: 1.029 MB / 1.048 GB, free: 6.977 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/0.4786, allocations: 8 kB / 1.048 GB, free: 6.969 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4786, allocations: 0 / 1.048 GB, free: 6.969 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.645e-05/0.4786, allocations: 7.984 kB / 1.048 GB, free: 6.961 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/0.4806, allocations: 0.8645 MB / 1.049 GB, free: 6.047 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.4806, allocations: 4 kB / 1.049 GB, free: 6.043 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009586/0.4816, allocations: 147.8 kB / 1.049 GB, free: 5.898 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000763/0.4823, allocations: 80.78 kB / 1.05 GB, free: 5.816 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.418e-05/0.4824, allocations: 23.98 kB / 1.05 GB, free: 5.793 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002974/0.4854, allocations: 1.559 MB / 1.051 GB, free: 4.098 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/0.4854, allocations: 3.953 kB / 1.051 GB, free: 4.094 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003159/0.4886, allocations: 0.8499 MB / 1.052 GB, free: 3.219 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007196/0.4894, allocations: 275.7 kB / 1.052 GB, free: 2.93 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/0.4895, allocations: 27.94 kB / 1.052 GB, free: 2.902 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008759/0.4904, allocations: 70.86 kB / 1.052 GB, free: 2.836 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/0.4906, allocations: 64.91 kB / 1.052 GB, free: 2.773 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.4908, allocations: 27.98 kB / 1.052 GB, free: 2.746 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009413/0.4917, allocations: 431 kB / 1.053 GB, free: 2.332 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/0.4917, allocations: 0 / 1.053 GB, free: 2.332 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001401/0.4931, allocations: 295.1 kB / 1.053 GB, free: 2.043 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.005209/0.4984, allocations: 1.882 MB / 1.055 GB, free: 304 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.6038/1.102, allocations: 0.7338 MB / 1.056 GB, free: 153.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/1.102, allocations: 0.875 kB / 1.056 GB, free: 153.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001589/1.104, allocations: 0.4947 MB / 1.056 GB, free: 153.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/1.106, allocations: 228.6 kB / 1.056 GB, free: 153.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/1.12, allocations: 5.18 MB / 1.061 GB, free: 151.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007913/1.121, allocations: 1.037 MB / 1.062 GB, free: 151 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001245/1.122, allocations: 260.8 kB / 1.063 GB, free: 151 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006195/1.123, allocations: 372.7 kB / 1.063 GB, free: 151 MB / 0.698 GB Notification: Performance of SimCode: time 1.663e-06/1.123, allocations: 3.906 kB / 1.063 GB, free: 151 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05889/1.182, allocations: 20.05 MB / 1.083 GB, free: 144.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/1.182, allocations: 292.9 kB / 1.083 GB, free: 143.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.78/3.962, allocations: 0 / 1.083 GB, free: 143.7 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)