Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 104.5 kB / 16.41 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 188.1 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002241/0.002241, allocations: 283.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.068/1.068, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002165, allocations: 91.86 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5144/0.5166, allocations: 86.98 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006309/0.5229, allocations: 4.419 MB / 0.7713 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1795/0.7025, allocations: 150.6 MB / 0.9185 GB, free: 8.254 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.7036, allocations: 15.94 kB / 0.9185 GB, free: 8.238 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0008862/0.7045, allocations: 166.4 kB / 0.9186 GB, free: 8.074 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002537/0.7071, allocations: 0.5134 MB / 0.9191 GB, free: 7.562 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002521/0.7096, allocations: 0.8526 MB / 0.92 GB, free: 6.715 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001965/0.7116, allocations: 1.328 MB / 0.9213 GB, free: 5.379 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001248/0.7129, allocations: 0.6986 MB / 0.9219 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009386/0.7138, allocations: 0.4983 MB / 0.9224 GB, free: 4.16 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009181/0.7148, allocations: 0.5327 MB / 0.923 GB, free: 3.625 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003037/0.7151, allocations: 124 kB / 0.9231 GB, free: 3.504 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.7164, allocations: 0.4996 MB / 0.9236 GB, free: 3.004 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004302/0.7168, allocations: 322.9 kB / 0.9239 GB, free: 2.688 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008237/0.7176, allocations: 0.5829 MB / 0.9244 GB, free: 2.102 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002263/0.7199, allocations: 1.712 MB / 0.9261 GB, free: 396 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.7199, allocations: 0 / 0.9261 GB, free: 396 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.963e-06/0.7199, allocations: 0 / 0.9261 GB, free: 396 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.001e-05/0.72, allocations: 0 / 0.9261 GB, free: 396 kB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002724/0.7227, allocations: 1.488 MB / 0.9276 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.7228, allocations: 8.031 kB / 0.9276 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.7239, allocations: 219.2 kB / 0.9278 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.7251, allocations: 0.7811 MB / 0.9285 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.597e-05/0.7251, allocations: 74 kB / 0.9286 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.7253, allocations: 88 kB / 0.9287 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.727, allocations: 1.012 MB / 0.9297 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.727, allocations: 3.938 kB / 0.9297 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.445e-05/0.7271, allocations: 43.98 kB / 0.9297 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.7271, allocations: 24 kB / 0.9298 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/0.7291, allocations: 1.175 MB / 0.9309 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004161/0.7332, allocations: 2.678 MB / 0.9335 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.735, allocations: 0.899 MB / 0.9344 GB, free: 7.676 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005835/0.7356, allocations: 318.6 kB / 0.9347 GB, free: 7.355 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006763/0.7362, allocations: 478.1 kB / 0.9352 GB, free: 6.797 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009405/0.7372, allocations: 0.4952 MB / 0.9356 GB, free: 6.281 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.695e-06/0.7372, allocations: 0 / 0.9356 GB, free: 6.281 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003385/0.7406, allocations: 1.229 MB / 0.9368 GB, free: 5.027 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000172/0.7408, allocations: 192.6 kB / 0.937 GB, free: 4.797 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.7418, allocations: 0.641 MB / 0.9376 GB, free: 4.152 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.796e-05/0.7419, allocations: 45.7 kB / 0.9377 GB, free: 4.102 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004498/0.7424, allocations: 432.2 kB / 0.9381 GB, free: 3.672 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002722/0.7427, allocations: 256.2 kB / 0.9383 GB, free: 3.418 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003127/0.743, allocations: 174.4 kB / 0.9385 GB, free: 3.238 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002623/0.7432, allocations: 386.8 kB / 0.9389 GB, free: 2.852 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005942/0.7438, allocations: 277.8 kB / 0.9392 GB, free: 2.582 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006902/0.7445, allocations: 371.1 kB / 0.9395 GB, free: 2.211 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.7458, allocations: 0.6229 MB / 0.9401 GB, free: 1.574 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.7458, allocations: 0 / 0.9401 GB, free: 1.574 MB / 0.7012 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002104/0.7479, allocations: 0.876 MB / 0.941 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.7479, allocations: 10.66 kB / 0.941 GB, free: 0.6797 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.7479, allocations: 0 / 0.941 GB, free: 0.6797 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006224/0.7486, allocations: 80.88 kB / 0.9411 GB, free: 0.5977 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006937/0.7493, allocations: 167.7 kB / 0.9412 GB, free: 444 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002605/0.7519, allocations: 1.63 MB / 0.9428 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007502/0.7527, allocations: 99.36 kB / 0.9429 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.77e-05/0.7527, allocations: 39.97 kB / 0.9429 GB, free: 14.52 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005472/0.7533, allocations: 273.8 kB / 0.9432 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.7535, allocations: 82.97 kB / 0.9433 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002574/0.7561, allocations: 1.105 MB / 0.9444 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.7561, allocations: 11.98 kB / 0.9444 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.7561, allocations: 0 / 0.9444 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.7561, allocations: 3.984 kB / 0.9444 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004171/0.7603, allocations: 1.998 MB / 0.9463 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.7603, allocations: 0 / 0.9463 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006617/0.761, allocations: 163.7 kB / 0.9465 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000466/0.7615, allocations: 72.78 kB / 0.9466 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.011e-05/0.7616, allocations: 23.98 kB / 0.9466 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/0.7636, allocations: 1.654 MB / 0.9482 GB, free: 8.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.7636, allocations: 4 kB / 0.9482 GB, free: 8.914 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/0.7658, allocations: 1.025 MB / 0.9492 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004626/0.7663, allocations: 279.7 kB / 0.9495 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/0.7664, allocations: 20 kB / 0.9495 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006908/0.7671, allocations: 63.92 kB / 0.9495 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.7673, allocations: 76.84 kB / 0.9496 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.043e-05/0.7674, allocations: 39.91 kB / 0.9497 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006611/0.7681, allocations: 467 kB / 0.9501 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7681, allocations: 0 / 0.9501 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001059/0.7691, allocations: 343 kB / 0.9504 GB, free: 6.59 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001575/0.7707, allocations: 0.6064 MB / 0.951 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001961/0.7727, allocations: 0.8469 MB / 0.9518 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.7727, allocations: 0 / 0.9518 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.7738, allocations: 0.5355 MB / 0.9524 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.7752, allocations: 303.9 kB / 0.9527 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004459/0.7797, allocations: 1.863 MB / 0.9545 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007598/0.7805, allocations: 1.05 MB / 0.9555 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003679/0.7809, allocations: 123.4 kB / 0.9556 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of SimCode: time 9.42e-07/0.7809, allocations: 3.938 kB / 0.9556 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of Templates: time 0.4343/1.215, allocations: 19.56 MB / 0.9747 GB, free: 177.9 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)