Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001049/0.001049, allocations: 96.67 kB / 16.26 MB, free: 5.934 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.00103/0.00103, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.407/1.407, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.782/0.782, allocations: 122.9 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.91 kB / 0.4911 GB, free: 7.391 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4094, allocations: 77.92 MB / 0.5672 GB, free: 32.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006321/0.4158, allocations: 5.142 MB / 0.5722 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1726/0.5884, allocations: 150.7 MB / 0.7194 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001301/0.5898, allocations: 15.94 kB / 0.7194 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007719/0.5906, allocations: 214 kB / 0.7196 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.5929, allocations: 0.5726 MB / 0.7202 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.5952, allocations: 0.8547 MB / 0.721 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001771/0.597, allocations: 1.448 MB / 0.7224 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.598, allocations: 0.6483 MB / 0.7231 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007884/0.5988, allocations: 0.5139 MB / 0.7236 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006441/0.5995, allocations: 0.5485 MB / 0.7241 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001806/0.5997, allocations: 128 kB / 0.7242 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.6009, allocations: 491.5 kB / 0.7247 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003013/0.6012, allocations: 319 kB / 0.725 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005771/0.6018, allocations: 0.6064 MB / 0.7256 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002147/0.604, allocations: 1.71 MB / 0.7273 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.604, allocations: 0 / 0.7273 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.604, allocations: 0 / 0.7273 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.104e-05/0.604, allocations: 0 / 0.7273 GB, free: 6.312 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.002591/0.6066, allocations: 1.504 MB / 0.7287 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.6066, allocations: 8.031 kB / 0.7287 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.6078, allocations: 219.2 kB / 0.7289 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.6088, allocations: 0.7616 MB / 0.7297 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.904e-05/0.6089, allocations: 74 kB / 0.7298 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.609, allocations: 88 kB / 0.7298 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.6107, allocations: 1.012 MB / 0.7308 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.6107, allocations: 4 kB / 0.7308 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-05/0.6108, allocations: 43.98 kB / 0.7309 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.6108, allocations: 24 kB / 0.7309 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/0.6127, allocations: 1.175 MB / 0.732 GB, free: 1.273 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004409/0.6171, allocations: 2.973 MB / 0.7349 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.6189, allocations: 0.9187 MB / 0.7358 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005593/0.6195, allocations: 314.7 kB / 0.7361 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007003/0.6202, allocations: 474.2 kB / 0.7366 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009304/0.6211, allocations: 0.499 MB / 0.7371 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 2.274e-06/0.6212, allocations: 0 / 0.7371 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.00334/0.6245, allocations: 1.24 MB / 0.7383 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001693/0.6247, allocations: 196.6 kB / 0.7385 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009406/0.6256, allocations: 0.6372 MB / 0.7391 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.21e-05/0.6257, allocations: 41.7 kB / 0.7391 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003943/0.6261, allocations: 432.1 kB / 0.7396 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002593/0.6264, allocations: 264.1 kB / 0.7398 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002724/0.6267, allocations: 166.5 kB / 0.74 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.6269, allocations: 386.8 kB / 0.7403 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005756/0.6275, allocations: 281.8 kB / 0.7406 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006779/0.6281, allocations: 371.1 kB / 0.741 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.6294, allocations: 0.6307 MB / 0.7416 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.6294, allocations: 0 / 0.7416 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002045/0.6314, allocations: 0.8838 MB / 0.7424 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.6315, allocations: 4 kB / 0.7424 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.6315, allocations: 4 kB / 0.7424 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006291/0.6321, allocations: 84.86 kB / 0.7425 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006985/0.6328, allocations: 163.8 kB / 0.7427 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/0.635, allocations: 1.629 MB / 0.7443 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007237/0.6357, allocations: 107.2 kB / 0.7444 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.999e-05/0.6358, allocations: 40.03 kB / 0.7444 GB, free: 4.035 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.0004326/0.6362, allocations: 271.4 kB / 0.7447 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.6364, allocations: 82.97 kB / 0.7448 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002482/0.6389, allocations: 1.101 MB / 0.7458 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.6389, allocations: 8 kB / 0.7458 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.6389, allocations: 0 / 0.7458 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.6389, allocations: 3.984 kB / 0.7458 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003339/0.6423, allocations: 1.996 MB / 0.7478 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.6423, allocations: 0 / 0.7478 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005919/0.6429, allocations: 147.8 kB / 0.7479 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000422/0.6433, allocations: 72.78 kB / 0.748 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.053e-05/0.6434, allocations: 23.98 kB / 0.748 GB, free: 256 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.31/0.9533, allocations: 1.662 MB / 0.7496 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.9534, allocations: 0.7812 kB / 0.7496 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/0.9558, allocations: 1.021 MB / 0.7506 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003883/0.9562, allocations: 277.3 kB / 0.7509 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.9563, allocations: 25.16 kB / 0.7509 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006722/0.957, allocations: 64.86 kB / 0.751 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.9572, allocations: 69.3 kB / 0.7511 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.118e-05/0.9573, allocations: 37.69 kB / 0.7511 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007148/0.958, allocations: 466.3 kB / 0.7515 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.173e-06/0.958, allocations: 0.5625 kB / 0.7515 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001479/0.9595, allocations: 361.7 kB / 0.7519 GB, free: 169.3 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.001716/0.9612, allocations: 0.625 MB / 0.7525 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003515/0.9647, allocations: 1.062 MB / 0.7535 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.9648, allocations: 0.5625 kB / 0.7535 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.9659, allocations: 0.5307 MB / 0.7541 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.9676, allocations: 299.8 kB / 0.7543 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/0.9711, allocations: 1.749 MB / 0.756 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006368/0.9717, allocations: 1.047 MB / 0.7571 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001035/0.9728, allocations: 273.8 kB / 0.7573 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.9731, allocations: 108.6 kB / 0.7574 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of SimCode: time 2.134e-06/0.9731, allocations: 1.531 kB / 0.7574 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.02901/1.002, allocations: 15.77 MB / 0.7728 GB, free: 160.8 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)