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.001506/0.001507, allocations: 101.9 kB / 16.35 MB, free: 5.824 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.001462/0.001462, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.482/1.482, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002226/0.002227, allocations: 290 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.052/1.052, allocations: 169.3 MB / 0.4989 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 98.81 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1859, allocations: 86.97 MB / 0.6816 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006437/0.1924, allocations: 4.416 MB / 0.6859 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5577/0.7501, allocations: 150.6 MB / 0.833 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.7514, allocations: 15.94 kB / 0.833 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006937/0.7521, allocations: 170.3 kB / 0.8332 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002662/0.7548, allocations: 0.51 MB / 0.8337 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002564/0.7574, allocations: 0.8575 MB / 0.8345 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002117/0.7595, allocations: 1.332 MB / 0.8358 GB, free: 356 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.7607, allocations: 0.7063 MB / 0.8365 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008811/0.7616, allocations: 0.4905 MB / 0.837 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007207/0.7623, allocations: 0.5328 MB / 0.8375 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001817/0.7625, allocations: 124 kB / 0.8376 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.7638, allocations: 0.5074 MB / 0.8381 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003802/0.7642, allocations: 315 kB / 0.8384 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007238/0.765, allocations: 0.5829 MB / 0.839 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003333/0.7683, allocations: 1.708 MB / 0.8407 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.7684, allocations: 0 / 0.8407 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.328e-06/0.7684, allocations: 0 / 0.8407 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.065e-05/0.7684, allocations: 0 / 0.8407 GB, free: 11.36 MB / 0.6075 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.004181/0.7726, allocations: 1.493 MB / 0.8421 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.451e-05/0.7727, allocations: 8.031 kB / 0.8421 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001428/0.7742, allocations: 215.3 kB / 0.8423 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001739/0.7759, allocations: 0.7776 MB / 0.8431 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.347e-05/0.776, allocations: 70 kB / 0.8432 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.7762, allocations: 95.94 kB / 0.8433 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/0.778, allocations: 1.017 MB / 0.8442 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.778, allocations: 0 / 0.8442 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-05/0.7782, allocations: 40 kB / 0.8443 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.7782, allocations: 24 kB / 0.8443 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.7802, allocations: 1.175 MB / 0.8455 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004849/0.785, allocations: 2.672 MB / 0.8481 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.7868, allocations: 0.9104 MB / 0.849 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005899/0.7874, allocations: 314.7 kB / 0.8493 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007036/0.7881, allocations: 474.1 kB / 0.8497 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009311/0.7891, allocations: 0.4991 MB / 0.8502 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 2.895e-06/0.7891, allocations: 2.25 kB / 0.8502 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.003437/0.7926, allocations: 1.213 MB / 0.8514 GB, free: 24 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.7927, allocations: 208.4 kB / 0.8516 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009317/0.7936, allocations: 0.6333 MB / 0.8522 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.128e-05/0.7937, allocations: 41.7 kB / 0.8522 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/0.7941, allocations: 432.2 kB / 0.8526 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/0.7944, allocations: 268.1 kB / 0.8529 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002658/0.7946, allocations: 162.5 kB / 0.8531 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.7948, allocations: 390.8 kB / 0.8534 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000574/0.7954, allocations: 273.8 kB / 0.8537 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006738/0.7961, allocations: 372.2 kB / 0.854 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.7973, allocations: 0.6268 MB / 0.8547 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/0.7973, allocations: 0 / 0.8547 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002312/0.7997, allocations: 0.8721 MB / 0.8555 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.7997, allocations: 7.938 kB / 0.8555 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.7997, allocations: 4 kB / 0.8555 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006248/0.8004, allocations: 84.86 kB / 0.8556 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006862/0.8011, allocations: 159.8 kB / 0.8558 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/0.8033, allocations: 1.639 MB / 0.8574 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008898/0.8042, allocations: 102.1 kB / 0.8575 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.31e-05/0.8043, allocations: 39.92 kB / 0.8575 GB, free: 9.508 MB / 0.6231 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.00053/0.8048, allocations: 271.4 kB / 0.8578 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.805, allocations: 86.97 kB / 0.8578 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002454/0.8074, allocations: 1.093 MB / 0.8589 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.8075, allocations: 12 kB / 0.8589 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.8075, allocations: 0 / 0.8589 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.8075, allocations: 3.984 kB / 0.8589 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003494/0.811, allocations: 2.006 MB / 0.8609 GB, free: 5.957 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.811, allocations: 0 / 0.8609 GB, free: 5.957 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006266/0.8117, allocations: 155.8 kB / 0.861 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004547/0.8121, allocations: 72.77 kB / 0.8611 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.275e-05/0.8122, allocations: 23.98 kB / 0.8611 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002127/0.8143, allocations: 1.666 MB / 0.8627 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.8143, allocations: 1.562 kB / 0.8627 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/0.8166, allocations: 1.021 MB / 0.8637 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004734/0.8171, allocations: 275.7 kB / 0.864 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.8172, allocations: 16 kB / 0.864 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006352/0.8178, allocations: 64.06 kB / 0.8641 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.818, allocations: 84.88 kB / 0.8642 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.71e-05/0.8181, allocations: 31.98 kB / 0.8642 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000629/0.8187, allocations: 463 kB / 0.8646 GB, free: 1.926 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.755e-06/0.8187, allocations: 0 / 0.8646 GB, free: 1.926 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001072/0.8198, allocations: 354.9 kB / 0.865 GB, free: 1.578 MB / 0.6231 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.001569/0.8214, allocations: 0.6102 MB / 0.8656 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001881/0.8233, allocations: 0.8546 MB / 0.8664 GB, free: 280 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.8233, allocations: 0 / 0.8664 GB, free: 280 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.8244, allocations: 0.5393 MB / 0.8669 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.8257, allocations: 294 kB / 0.8672 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004204/0.8299, allocations: 1.819 MB / 0.869 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007067/0.8306, allocations: 1.046 MB / 0.87 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001016/0.8316, allocations: 270.6 kB / 0.8703 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/0.8319, allocations: 103.4 kB / 0.8704 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of SimCode: time 1.613e-06/0.8319, allocations: 7.938 kB / 0.8704 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of Templates: time 0.02945/0.8614, allocations: 15.27 MB / 0.8853 GB, free: 13.11 MB / 0.6544 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)