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.005263/0.005262, allocations: 97.3 kB / 15.73 MB, free: 6.035 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.001187/0.001187, allocations: 201.5 kB / 16.68 MB, free: 5.961 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002111/0.002111, allocations: 279 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9423/0.9423, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 99.86 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1611, allocations: 86.97 MB / 0.7664 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005553/0.1666, allocations: 4.419 MB / 0.7707 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4789/0.6456, allocations: 150.6 MB / 0.9178 GB, free: 7.57 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007959/0.6464, allocations: 19.88 kB / 0.9178 GB, free: 7.551 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007159/0.6472, allocations: 164.7 kB / 0.918 GB, free: 7.391 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00189/0.6491, allocations: 0.5154 MB / 0.9185 GB, free: 6.895 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.6512, allocations: 0.8528 MB / 0.9193 GB, free: 6.066 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001618/0.6529, allocations: 1.336 MB / 0.9206 GB, free: 4.723 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.654, allocations: 0.6955 MB / 0.9213 GB, free: 4.008 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007536/0.6548, allocations: 0.4982 MB / 0.9218 GB, free: 3.508 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005561/0.6553, allocations: 0.5263 MB / 0.9223 GB, free: 2.98 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.6555, allocations: 128 kB / 0.9224 GB, free: 2.855 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008634/0.6564, allocations: 0.4996 MB / 0.9229 GB, free: 2.355 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000272/0.6566, allocations: 322.9 kB / 0.9232 GB, free: 2.039 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004562/0.6571, allocations: 0.579 MB / 0.9238 GB, free: 1.457 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001723/0.6588, allocations: 1.718 MB / 0.9254 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6589, allocations: 0 / 0.9254 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6589, allocations: 0 / 0.9254 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.6589, allocations: 0 / 0.9254 GB, free: 15.74 MB / 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.002257/0.6611, allocations: 1.533 MB / 0.9269 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.6612, allocations: 8.031 kB / 0.927 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.6622, allocations: 224 kB / 0.9272 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.6633, allocations: 0.7898 MB / 0.9279 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.209e-05/0.6633, allocations: 66.5 kB / 0.928 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.6635, allocations: 103.8 kB / 0.9281 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.6651, allocations: 1.012 MB / 0.9291 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.6651, allocations: 0 / 0.9291 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-05/0.6652, allocations: 36 kB / 0.9291 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.6652, allocations: 24 kB / 0.9291 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.6671, allocations: 1.178 MB / 0.9303 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003688/0.6708, allocations: 2.681 MB / 0.9329 GB, free: 7.898 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.6724, allocations: 0.909 MB / 0.9338 GB, free: 6.965 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005675/0.673, allocations: 318.6 kB / 0.9341 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005902/0.6736, allocations: 470.2 kB / 0.9346 GB, free: 6.094 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008594/0.6745, allocations: 0.4954 MB / 0.935 GB, free: 5.578 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 1.964e-06/0.6745, allocations: 4 kB / 0.935 GB, free: 5.574 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.003039/0.6775, allocations: 1.225 MB / 0.9362 GB, free: 4.324 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.044e-05/0.6776, allocations: 192.5 kB / 0.9364 GB, free: 4.094 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007173/0.6784, allocations: 0.6527 MB / 0.9371 GB, free: 3.438 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.34e-05/0.6784, allocations: 41.7 kB / 0.9371 GB, free: 3.391 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000284/0.6787, allocations: 429 kB / 0.9375 GB, free: 2.965 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.6789, allocations: 277.7 kB / 0.9378 GB, free: 2.691 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/0.6792, allocations: 162.6 kB / 0.9379 GB, free: 2.523 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.6793, allocations: 394.7 kB / 0.9383 GB, free: 2.129 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005512/0.6799, allocations: 269.8 kB / 0.9386 GB, free: 1.867 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006454/0.6806, allocations: 373.2 kB / 0.9389 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.6817, allocations: 0.6229 MB / 0.9395 GB, free: 0.8594 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.6817, allocations: 0 / 0.9395 GB, free: 0.8594 MB / 0.6856 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001927/0.6837, allocations: 0.8804 MB / 0.9404 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.6837, allocations: 7.938 kB / 0.9404 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.6837, allocations: 4.547 kB / 0.9404 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000553/0.6843, allocations: 80.8 kB / 0.9405 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006632/0.6849, allocations: 171.7 kB / 0.9406 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.6869, allocations: 1.635 MB / 0.9422 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006529/0.6876, allocations: 99.44 kB / 0.9423 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.177e-05/0.6876, allocations: 43.03 kB / 0.9424 GB, free: 13.8 MB / 0.7012 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.0003492/0.688, allocations: 271.5 kB / 0.9426 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.6881, allocations: 83.48 kB / 0.9427 GB, free: 13.44 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002368/0.6905, allocations: 1.105 MB / 0.9438 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.6905, allocations: 12 kB / 0.9438 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.6906, allocations: 0 / 0.9438 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.6906, allocations: 3.984 kB / 0.9438 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/0.6936, allocations: 2.002 MB / 0.9458 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.6937, allocations: 0 / 0.9458 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005984/0.6943, allocations: 155.7 kB / 0.9459 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004041/0.6947, allocations: 68.8 kB / 0.946 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.613e-05/0.6947, allocations: 27.97 kB / 0.946 GB, free: 9.996 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001763/0.6965, allocations: 1.67 MB / 0.9476 GB, free: 8.184 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6965, allocations: 0 / 0.9476 GB, free: 8.184 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/0.6985, allocations: 1.026 MB / 0.9486 GB, free: 7.137 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003189/0.6989, allocations: 280.2 kB / 0.9489 GB, free: 6.844 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.699, allocations: 23.47 kB / 0.9489 GB, free: 6.824 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006327/0.6996, allocations: 63.94 kB / 0.949 GB, free: 6.762 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.6998, allocations: 72.89 kB / 0.9491 GB, free: 6.691 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.407e-05/0.6998, allocations: 39.97 kB / 0.9491 GB, free: 6.652 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005626/0.7004, allocations: 463 kB / 0.9495 GB, free: 6.203 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7004, allocations: 4 kB / 0.9495 GB, free: 6.199 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000811/0.7012, allocations: 346.9 kB / 0.9499 GB, free: 5.859 MB / 0.7012 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.001315/0.7026, allocations: 0.6252 MB / 0.9505 GB, free: 5.41 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001732/0.7043, allocations: 0.8508 MB / 0.9513 GB, free: 4.547 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7043, allocations: 0 / 0.9513 GB, free: 4.547 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009195/0.7052, allocations: 0.5392 MB / 0.9518 GB, free: 3.992 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.7064, allocations: 297.5 kB / 0.9521 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003937/0.7104, allocations: 1.847 MB / 0.9539 GB, free: 1.855 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007072/0.7111, allocations: 1.05 MB / 0.9549 GB, free: 0.7773 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007909/0.7119, allocations: 262.7 kB / 0.9552 GB, free: 0.5156 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/0.7122, allocations: 107.4 kB / 0.9553 GB, free: 424 kB / 0.7012 GB Notification: Performance of SimCode: time 5.51e-07/0.7122, allocations: 4 kB / 0.9553 GB, free: 420 kB / 0.7012 GB Notification: Performance of Templates: time 0.0254/0.7376, allocations: 15.42 MB / 0.9704 GB, free: 1.191 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)