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.001063/0.001063, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 197 kB / 16.53 MB, free: 6.664 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.262/1.262, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002047/0.002047, allocations: 278.9 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9056/0.9056, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 98.83 kB / 0.5952 GB, free: 27.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.145, allocations: 86.99 MB / 0.6802 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005635/0.1506, allocations: 4.414 MB / 0.6845 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.431/0.5816, allocations: 150.6 MB / 0.8316 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000648/0.5823, allocations: 19.88 kB / 0.8316 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004333/0.5828, allocations: 175.5 kB / 0.8318 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.584, allocations: 0.5054 MB / 0.8323 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.5855, allocations: 0.8536 MB / 0.8331 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008769/0.5864, allocations: 1.325 MB / 0.8344 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007701/0.5872, allocations: 0.7054 MB / 0.8351 GB, free: 496 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004308/0.5876, allocations: 499.7 kB / 0.8356 GB, free: 400 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004349/0.5881, allocations: 0.5372 MB / 0.8361 GB, free: 268 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001628/0.5882, allocations: 125.5 kB / 0.8362 GB, free: 268 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006939/0.5889, allocations: 487.3 kB / 0.8367 GB, free: 252 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.5892, allocations: 318.3 kB / 0.837 GB, free: 204 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003602/0.5895, allocations: 0.587 MB / 0.8375 GB, free: 12 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.5908, allocations: 1.668 MB / 0.8392 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5909, allocations: 0 / 0.8392 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.81e-07/0.5909, allocations: 0 / 0.8392 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.5909, allocations: 0 / 0.8392 GB, free: 15.77 MB / 0.5762 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.002235/0.5931, allocations: 1.485 MB / 0.8406 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.5932, allocations: 9.469 kB / 0.8406 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.5942, allocations: 214.4 kB / 0.8408 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009086/0.5951, allocations: 0.7623 MB / 0.8416 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.957e-05/0.5952, allocations: 76.25 kB / 0.8416 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.5953, allocations: 91.56 kB / 0.8417 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.5969, allocations: 1.016 MB / 0.8427 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.5969, allocations: 4 kB / 0.8427 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.412e-05/0.597, allocations: 44.39 kB / 0.8428 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.597, allocations: 23.19 kB / 0.8428 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/0.5988, allocations: 1.17 MB / 0.8439 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003691/0.6025, allocations: 2.715 MB / 0.8466 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.604, allocations: 0.9037 MB / 0.8475 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005595/0.6046, allocations: 312.9 kB / 0.8478 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006205/0.6052, allocations: 476.5 kB / 0.8482 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009018/0.6062, allocations: 0.4935 MB / 0.8487 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 2.655e-06/0.6062, allocations: 3.938 kB / 0.8487 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.003096/0.6093, allocations: 1.22 MB / 0.8499 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.87e-05/0.6094, allocations: 196.1 kB / 0.8501 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000753/0.6101, allocations: 0.6411 MB / 0.8507 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.705e-05/0.6102, allocations: 40.36 kB / 0.8508 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003352/0.6105, allocations: 428.6 kB / 0.8512 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.6108, allocations: 263 kB / 0.8514 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/0.611, allocations: 177 kB / 0.8516 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.6112, allocations: 384.6 kB / 0.8519 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005218/0.6117, allocations: 276.4 kB / 0.8522 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00062/0.6123, allocations: 373.6 kB / 0.8526 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.6134, allocations: 0.6177 MB / 0.8532 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.6135, allocations: 6.312 kB / 0.8532 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001871/0.6153, allocations: 0.8738 MB / 0.854 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.6154, allocations: 9.625 kB / 0.854 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.6154, allocations: 0 / 0.854 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005733/0.616, allocations: 86.16 kB / 0.8541 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006472/0.6166, allocations: 162.4 kB / 0.8543 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/0.6185, allocations: 1.625 MB / 0.8559 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006957/0.6192, allocations: 98.55 kB / 0.856 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-05/0.6193, allocations: 42.16 kB / 0.856 GB, free: 4.793 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.0003704/0.6197, allocations: 279.7 kB / 0.8563 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.6198, allocations: 83.34 kB / 0.8563 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002318/0.6222, allocations: 1.098 MB / 0.8574 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.6222, allocations: 11.89 kB / 0.8574 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.6222, allocations: 2.562 kB / 0.8574 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.6222, allocations: 3.984 kB / 0.8574 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/0.6253, allocations: 2.001 MB / 0.8594 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6253, allocations: 10.72 kB / 0.8594 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005615/0.6259, allocations: 153.1 kB / 0.8595 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004169/0.6263, allocations: 73.84 kB / 0.8596 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.187e-05/0.6263, allocations: 23.77 kB / 0.8596 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001721/0.6281, allocations: 1.667 MB / 0.8613 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6281, allocations: 0 / 0.8613 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.63, allocations: 1.009 MB / 0.8622 GB, free: 332 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003093/0.6303, allocations: 277.8 kB / 0.8625 GB, free: 84 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.6304, allocations: 17.38 kB / 0.8625 GB, free: 72 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006481/0.6311, allocations: 69.23 kB / 0.8626 GB, free: 36 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.6312, allocations: 69.61 kB / 0.8627 GB, free: 0 / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-05/0.6313, allocations: 42.44 kB / 0.8627 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004879/0.6318, allocations: 463.9 kB / 0.8631 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6318, allocations: 0 / 0.8631 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000812/0.6326, allocations: 347 kB / 0.8635 GB, free: 15.61 MB / 0.5919 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.00125/0.6339, allocations: 0.6268 MB / 0.8641 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002176/0.6361, allocations: 1.057 MB / 0.8651 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.6361, allocations: 0 / 0.8651 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008966/0.637, allocations: 0.5366 MB / 0.8656 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.6382, allocations: 296.7 kB / 0.8659 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003479/0.6417, allocations: 1.842 MB / 0.8677 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005196/0.6422, allocations: 1.045 MB / 0.8687 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007538/0.6429, allocations: 266.1 kB / 0.869 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.6432, allocations: 109.9 kB / 0.8691 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.6432, allocations: 0 / 0.8691 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of Templates: time 0.0229/0.6661, allocations: 15.27 MB / 0.884 GB, free: 15.61 MB / 0.6075 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)