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.001289/0.001289, allocations: 108.5 kB / 16.41 MB, free: 6.457 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.001236/0.001236, allocations: 193.2 kB / 17.34 MB, free: 5.734 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.507/1.507, allocations: 222.9 MB / 241.1 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.002472/0.002472, allocations: 290 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.059/1.059, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00278/0.00278, allocations: 95.86 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4541/0.4569, allocations: 86.98 MB / 0.767 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006521/0.4634, allocations: 4.743 MB / 0.7717 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.2175/0.6809, allocations: 151.1 MB / 0.9193 GB, free: 7.238 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009848/0.6819, allocations: 15.94 kB / 0.9193 GB, free: 7.223 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006627/0.6825, allocations: 194.1 kB / 0.9195 GB, free: 7.031 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001799/0.6843, allocations: 0.5397 MB / 0.92 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002289/0.6866, allocations: 0.8584 MB / 0.9208 GB, free: 5.641 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001731/0.6884, allocations: 1.437 MB / 0.9222 GB, free: 4.199 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.6894, allocations: 0.6893 MB / 0.9229 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008598/0.6903, allocations: 0.5838 MB / 0.9235 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007239/0.691, allocations: 0.6183 MB / 0.9241 GB, free: 2.262 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002029/0.6912, allocations: 160 kB / 0.9242 GB, free: 2.105 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.6923, allocations: 0.5191 MB / 0.9247 GB, free: 1.586 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003546/0.6926, allocations: 378.8 kB / 0.9251 GB, free: 1.215 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006531/0.6933, allocations: 0.6916 MB / 0.9258 GB, free: 0.5195 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002492/0.6958, allocations: 1.975 MB / 0.9277 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.6958, allocations: 0 / 0.9277 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6958, allocations: 0 / 0.9277 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.875e-05/0.6958, allocations: 0 / 0.9277 GB, free: 14.54 MB / 0.7012 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.003116/0.6989, allocations: 1.73 MB / 0.9294 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.699, allocations: 12.03 kB / 0.9294 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.7, allocations: 227.8 kB / 0.9296 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.7013, allocations: 0.8684 MB / 0.9305 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.978e-05/0.7014, allocations: 98.41 kB / 0.9306 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.7016, allocations: 112 kB / 0.9307 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002091/0.7037, allocations: 1.206 MB / 0.9318 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.7037, allocations: 0 / 0.9318 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.7038, allocations: 52 kB / 0.9319 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/0.7038, allocations: 28 kB / 0.9319 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.706, allocations: 1.281 MB / 0.9332 GB, free: 8.758 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005135/0.7112, allocations: 3.134 MB / 0.9362 GB, free: 5.551 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.7128, allocations: 0.8009 MB / 0.937 GB, free: 4.75 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000588/0.7134, allocations: 302.6 kB / 0.9373 GB, free: 4.445 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.29e-05/0.7134, allocations: 36.7 kB / 0.9373 GB, free: 4.41 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009259/0.7144, allocations: 0.5173 MB / 0.9378 GB, free: 3.883 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=87): time 2.455e-06/0.7144, allocations: 0 / 0.9378 GB, free: 3.883 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87): time 0.003482/0.7179, allocations: 1.283 MB / 0.9391 GB, free: 2.574 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001629/0.718, allocations: 200.9 kB / 0.9393 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.7192, allocations: 0.7352 MB / 0.94 GB, free: 1.586 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001172/0.7193, allocations: 49.69 kB / 0.94 GB, free: 1.531 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006274/0.7199, allocations: 0.5204 MB / 0.9406 GB, free: 1.004 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000324/0.7203, allocations: 293.5 kB / 0.9408 GB, free: 0.7148 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003321/0.7206, allocations: 170.6 kB / 0.941 GB, free: 0.543 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002079/0.7208, allocations: 345.9 kB / 0.9413 GB, free: 204 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006284/0.7214, allocations: 293.9 kB / 0.9416 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007663/0.7222, allocations: 387.1 kB / 0.942 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/0.7235, allocations: 0.6555 MB / 0.9426 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.7235, allocations: 0 / 0.9426 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002465/0.726, allocations: 0.9233 MB / 0.9435 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.726, allocations: 4 kB / 0.9435 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.726, allocations: 3.938 kB / 0.9435 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006623/0.7267, allocations: 80.88 kB / 0.9436 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007966/0.7275, allocations: 175.8 kB / 0.9438 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002747/0.7302, allocations: 1.63 MB / 0.9454 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.7313, allocations: 99.36 kB / 0.9455 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-05/0.7314, allocations: 39.97 kB / 0.9455 GB, free: 11.74 MB / 0.7169 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.0007872/0.7322, allocations: 310.9 kB / 0.9458 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.7324, allocations: 99.38 kB / 0.9459 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002729/0.7352, allocations: 1.118 MB / 0.947 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.7352, allocations: 11.94 kB / 0.947 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.7352, allocations: 0 / 0.947 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.7352, allocations: 3.984 kB / 0.947 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.7369, allocations: 1.048 MB / 0.948 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.7369, allocations: 4 kB / 0.948 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006814/0.7375, allocations: 159.8 kB / 0.9482 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005025/0.738, allocations: 72.73 kB / 0.9482 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.615e-05/0.7381, allocations: 27.97 kB / 0.9483 GB, free: 8.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002499/0.7406, allocations: 1.662 MB / 0.9499 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.7406, allocations: 0 / 0.9499 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002558/0.7432, allocations: 0.9869 MB / 0.9509 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005738/0.7437, allocations: 304.1 kB / 0.9511 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.7439, allocations: 16 kB / 0.9512 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006576/0.7445, allocations: 67.92 kB / 0.9512 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002106/0.7447, allocations: 72.84 kB / 0.9513 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.594e-05/0.7448, allocations: 39.97 kB / 0.9513 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009015/0.7457, allocations: 0.5146 MB / 0.9518 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7457, allocations: 4 kB / 0.9518 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001292/0.747, allocations: 362.9 kB / 0.9522 GB, free: 4.637 MB / 0.7169 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.002227/0.7492, allocations: 0.6067 MB / 0.9528 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002277/0.7515, allocations: 0.8509 MB / 0.9536 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.7515, allocations: 0 / 0.9536 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.7526, allocations: 0.5079 MB / 0.9541 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/0.7542, allocations: 313.4 kB / 0.9544 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005576/0.7598, allocations: 2.114 MB / 0.9565 GB, free: 408 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3695/1.129, allocations: 1.101 MB / 0.9575 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001092/1.13, allocations: 268.9 kB / 0.9578 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003665/1.131, allocations: 109.8 kB / 0.9579 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of SimCode: time 1.142e-06/1.131, allocations: 0.625 kB / 0.9579 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.02523/1.156, allocations: 15.82 MB / 0.9734 GB, free: 179.8 MB / 0.7169 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)