Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001119/0.001119, allocations: 199.2 kB / 16.14 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.346/1.346, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002028/0.002028, allocations: 278.4 kB / 290.2 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9315/0.9315, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 96.84 kB / 0.5945 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1512, allocations: 86.99 MB / 0.6794 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006125/0.1574, allocations: 4.733 MB / 0.6841 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4333/0.5907, allocations: 148.4 MB / 0.829 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006655/0.5914, allocations: 20.97 kB / 0.829 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004973/0.5919, allocations: 151.2 kB / 0.8291 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.5932, allocations: 451.3 kB / 0.8296 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.5947, allocations: 0.7462 MB / 0.8303 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001055/0.5957, allocations: 1.349 MB / 0.8316 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009608/0.5967, allocations: 0.8997 MB / 0.8325 GB, free: 372 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005951/0.5973, allocations: 0.5047 MB / 0.833 GB, free: 252 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005176/0.5978, allocations: 0.5909 MB / 0.8335 GB, free: 96 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.598, allocations: 87.09 kB / 0.8336 GB, free: 96 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009429/0.599, allocations: 428.4 kB / 0.834 GB, free: 84 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002764/0.5992, allocations: 307.9 kB / 0.8343 GB, free: 24 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000556/0.5998, allocations: 0.6277 MB / 0.8349 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.6013, allocations: 1.864 MB / 0.8368 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.6014, allocations: 0 / 0.8368 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.21e-07/0.6014, allocations: 0 / 0.8368 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.991e-05/0.6014, allocations: 1.469 kB / 0.8368 GB, free: 15.5 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002859/0.6043, allocations: 1.685 MB / 0.8384 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.6043, allocations: 8.906 kB / 0.8384 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009623/0.6053, allocations: 224 kB / 0.8386 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.6064, allocations: 0.843 MB / 0.8395 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.214e-05/0.6065, allocations: 88.34 kB / 0.8395 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.6066, allocations: 115 kB / 0.8397 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/0.6087, allocations: 1.207 MB / 0.8408 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.6087, allocations: 1.375 kB / 0.8408 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.6088, allocations: 52.88 kB / 0.8409 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/0.6088, allocations: 28.88 kB / 0.8409 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.6108, allocations: 1.285 MB / 0.8422 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004685/0.6155, allocations: 3.158 MB / 0.8452 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.617, allocations: 0.8645 MB / 0.8461 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005392/0.6176, allocations: 327 kB / 0.8464 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.304e-05/0.6177, allocations: 36.12 kB / 0.8464 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009546/0.6186, allocations: 0.5119 MB / 0.8469 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=87): time 4.839e-06/0.6186, allocations: 1.828 kB / 0.8469 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87): time 0.003342/0.622, allocations: 1.275 MB / 0.8482 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.34e-05/0.6221, allocations: 198.6 kB / 0.8484 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009048/0.623, allocations: 0.7404 MB / 0.8491 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.978e-05/0.6231, allocations: 46.3 kB / 0.8491 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003913/0.6235, allocations: 0.5185 MB / 0.8496 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000216/0.6237, allocations: 282.7 kB / 0.8499 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002475/0.624, allocations: 171.2 kB / 0.8501 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.6241, allocations: 344.1 kB / 0.8504 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000533/0.6246, allocations: 285.3 kB / 0.8507 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006243/0.6253, allocations: 390.8 kB / 0.8511 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.6264, allocations: 0.6576 MB / 0.8517 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6264, allocations: 0 / 0.8517 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002012/0.6284, allocations: 0.9213 MB / 0.8526 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.6285, allocations: 9.375 kB / 0.8526 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.6285, allocations: 0 / 0.8526 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006146/0.6291, allocations: 89.55 kB / 0.8527 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007182/0.6298, allocations: 167.1 kB / 0.8529 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002007/0.6318, allocations: 1.522 MB / 0.8543 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008164/0.6327, allocations: 99.84 kB / 0.8544 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.362e-05/0.6328, allocations: 41.44 kB / 0.8545 GB, free: 4.328 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 (104): * Single equations (assignments): 103 * 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.0004903/0.6333, allocations: 296.9 kB / 0.8548 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.6334, allocations: 99.69 kB / 0.8548 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002409/0.6358, allocations: 1.124 MB / 0.8559 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.6359, allocations: 7.594 kB / 0.856 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.6359, allocations: 2.281 kB / 0.856 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.6359, allocations: 3.984 kB / 0.856 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.6371, allocations: 1.057 MB / 0.857 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.6371, allocations: 0 / 0.857 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006208/0.6377, allocations: 162.7 kB / 0.8571 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005244/0.6382, allocations: 86.11 kB / 0.8572 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.173e-05/0.6383, allocations: 22.83 kB / 0.8573 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/0.6401, allocations: 1.547 MB / 0.8588 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.6401, allocations: 6.172 kB / 0.8588 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/0.6421, allocations: 0.9818 MB / 0.8597 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003774/0.6425, allocations: 289.5 kB / 0.86 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.6427, allocations: 23.81 kB / 0.86 GB, free: 264 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006471/0.6433, allocations: 69.67 kB / 0.8601 GB, free: 228 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.6435, allocations: 76.11 kB / 0.8602 GB, free: 188 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.105e-05/0.6436, allocations: 30.23 kB / 0.8602 GB, free: 180 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000657/0.6442, allocations: 0.5185 MB / 0.8607 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6442, allocations: 0 / 0.8607 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008877/0.6451, allocations: 353.9 kB / 0.861 GB, free: 15.78 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * 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.001298/0.6464, allocations: 0.6139 MB / 0.8616 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001676/0.6481, allocations: 0.8821 MB / 0.8625 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.6481, allocations: 4.188 kB / 0.8625 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009163/0.6491, allocations: 0.5334 MB / 0.863 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.6502, allocations: 278.6 kB / 0.8633 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004331/0.6546, allocations: 2.644 MB / 0.8659 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000598/0.6552, allocations: 1.109 MB / 0.867 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008831/0.6561, allocations: 273.6 kB / 0.8672 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/0.6564, allocations: 106.9 kB / 0.8673 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.6564, allocations: 0 / 0.8673 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of Templates: time 0.02495/0.6813, allocations: 14.93 MB / 0.8819 GB, free: 15.91 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)