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.000937/0.0009371, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004887/0.004887, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.293/1.293, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001708/0.001708, allocations: 274.2 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9197/0.9197, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003922, allocations: 14.08 kB / 0.5987 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1393, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004559/0.1439, allocations: 3.999 MB / 0.689 GB, free: 11.06 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.447/0.5909, allocations: 146.7 MB / 0.8323 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004497/0.5914, allocations: 13.56 kB / 0.8323 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000424/0.5919, allocations: 137.3 kB / 0.8325 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.593, allocations: 431.4 kB / 0.8329 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.5946, allocations: 0.7487 MB / 0.8336 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001166/0.5958, allocations: 1.24 MB / 0.8348 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008747/0.5967, allocations: 0.6646 MB / 0.8355 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004278/0.5971, allocations: 353.4 kB / 0.8358 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004211/0.5976, allocations: 397.2 kB / 0.8362 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.603e-05/0.5976, allocations: 25.88 kB / 0.8362 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000672/0.5983, allocations: 396.6 kB / 0.8366 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.5985, allocations: 196.6 kB / 0.8368 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003771/0.5989, allocations: 477 kB / 0.8372 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.6002, allocations: 1.563 MB / 0.8388 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.6003, allocations: 0 / 0.8388 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6003, allocations: 0 / 0.8388 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.43e-05/0.6003, allocations: 4 kB / 0.8388 GB, free: 8.672 MB / 0.5606 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.002157/0.6024, allocations: 1.251 MB / 0.84 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.6025, allocations: 9.344 kB / 0.84 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.6035, allocations: 229.4 kB / 0.8402 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009549/0.6045, allocations: 0.7694 MB / 0.841 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.685e-05/0.6046, allocations: 67.53 kB / 0.841 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.6047, allocations: 93.91 kB / 0.8411 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.6064, allocations: 1.015 MB / 0.8421 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.6064, allocations: 1.594 kB / 0.8421 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.316e-05/0.6065, allocations: 37.59 kB / 0.8421 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.6066, allocations: 23.94 kB / 0.8422 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.6084, allocations: 1.19 MB / 0.8433 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003904/0.6123, allocations: 2.745 MB / 0.846 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.6139, allocations: 0.9104 MB / 0.8469 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005589/0.6145, allocations: 325 kB / 0.8472 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006242/0.6151, allocations: 470.5 kB / 0.8477 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008736/0.616, allocations: 0.5009 MB / 0.8481 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.635e-06/0.616, allocations: 0 / 0.8481 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.003101/0.6191, allocations: 1.245 MB / 0.8494 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.648e-05/0.6192, allocations: 192.5 kB / 0.8495 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007022/0.6199, allocations: 0.6474 MB / 0.8502 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.592e-05/0.62, allocations: 39.45 kB / 0.8502 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/0.6203, allocations: 420.4 kB / 0.8506 GB, free: 400 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.6205, allocations: 269.3 kB / 0.8509 GB, free: 160 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.567e-05/0.6206, allocations: 70.3 kB / 0.8509 GB, free: 108 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.6207, allocations: 383.5 kB / 0.8513 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005565/0.6213, allocations: 284.4 kB / 0.8516 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006313/0.6219, allocations: 379.3 kB / 0.8519 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.6232, allocations: 0.632 MB / 0.8526 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.6232, allocations: 0 / 0.8526 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00203/0.6252, allocations: 0.8884 MB / 0.8534 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.6252, allocations: 6.812 kB / 0.8534 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.6253, allocations: 4.094 kB / 0.8534 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006202/0.6259, allocations: 75.38 kB / 0.8535 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006929/0.6266, allocations: 174.3 kB / 0.8537 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/0.6285, allocations: 1.518 MB / 0.8552 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007429/0.6293, allocations: 106.8 kB / 0.8553 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.786e-05/0.6294, allocations: 40.62 kB / 0.8553 GB, free: 12.94 MB / 0.5762 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.0003894/0.6298, allocations: 270.8 kB / 0.8555 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.6299, allocations: 85.16 kB / 0.8556 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/0.6323, allocations: 1.109 MB / 0.8567 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.6323, allocations: 7.938 kB / 0.8567 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.6324, allocations: 3.938 kB / 0.8567 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.6324, allocations: 10.92 kB / 0.8567 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003186/0.6356, allocations: 2.021 MB / 0.8587 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.6356, allocations: 4 kB / 0.8587 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006093/0.6362, allocations: 147.5 kB / 0.8589 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005365/0.6367, allocations: 87.58 kB / 0.8589 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.398e-05/0.6368, allocations: 25.27 kB / 0.859 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/0.6386, allocations: 1.549 MB / 0.8605 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.6386, allocations: 10.91 kB / 0.8605 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/0.6406, allocations: 1.02 MB / 0.8615 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003691/0.641, allocations: 296 kB / 0.8618 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.6411, allocations: 17.41 kB / 0.8618 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007162/0.6418, allocations: 83.14 kB / 0.8619 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.642, allocations: 80.14 kB / 0.8619 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.567e-05/0.6421, allocations: 29.95 kB / 0.862 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005309/0.6426, allocations: 465.4 kB / 0.8624 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6426, allocations: 0 / 0.8624 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008592/0.6435, allocations: 345.1 kB / 0.8627 GB, free: 7.809 MB / 0.5762 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.001399/0.6449, allocations: 0.6172 MB / 0.8633 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001689/0.6466, allocations: 0.8677 MB / 0.8642 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6466, allocations: 0 / 0.8642 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009195/0.6476, allocations: 0.5319 MB / 0.8647 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.6488, allocations: 262.3 kB / 0.865 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004/0.6528, allocations: 2.357 MB / 0.8673 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005403/0.6534, allocations: 1.047 MB / 0.8683 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008284/0.6542, allocations: 274.6 kB / 0.8685 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/0.6545, allocations: 107.3 kB / 0.8686 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.6545, allocations: 0 / 0.8686 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of Templates: time 0.02272/0.6772, allocations: 14.55 MB / 0.8828 GB, free: 4.852 MB / 0.5919 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)