Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.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.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001298/0.001298, allocations: 187 kB / 17.34 MB, free: 5.766 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002185/0.002185, allocations: 295.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.039/1.039, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 95.84 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5144/0.5164, allocations: 86.97 MB / 0.767 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.0064/0.5229, allocations: 4.35 MB / 0.7713 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.168/0.6909, allocations: 150.5 MB / 0.9183 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007725/0.6917, allocations: 15.94 kB / 0.9183 GB, free: 8.277 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007098/0.6924, allocations: 166.4 kB / 0.9185 GB, free: 8.113 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001949/0.6944, allocations: 0.5064 MB / 0.919 GB, free: 7.609 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001976/0.6964, allocations: 0.8235 MB / 0.9198 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001506/0.6979, allocations: 1.297 MB / 0.921 GB, free: 5.488 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009355/0.6989, allocations: 0.6081 MB / 0.9216 GB, free: 4.859 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006884/0.6996, allocations: 486.2 kB / 0.9221 GB, free: 4.383 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006592/0.7002, allocations: 493.8 kB / 0.9226 GB, free: 3.898 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002294/0.7005, allocations: 112 kB / 0.9227 GB, free: 3.789 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000939/0.7014, allocations: 487.6 kB / 0.9231 GB, free: 3.312 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003412/0.7018, allocations: 295.1 kB / 0.9234 GB, free: 3.023 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005922/0.7024, allocations: 0.5324 MB / 0.9239 GB, free: 2.488 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001937/0.7043, allocations: 1.595 MB / 0.9255 GB, free: 0.8906 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.7043, allocations: 0 / 0.9255 GB, free: 0.8906 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.557e-06/0.7043, allocations: 0 / 0.9255 GB, free: 0.8906 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.256e-05/0.7044, allocations: 3.938 kB / 0.9255 GB, free: 0.8867 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003017/0.7074, allocations: 1.407 MB / 0.9269 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.7075, allocations: 12.03 kB / 0.9269 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009916/0.7085, allocations: 179.4 kB / 0.9271 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.7099, allocations: 0.7617 MB / 0.9278 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.858e-05/0.7099, allocations: 58 kB / 0.9279 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.7101, allocations: 84 kB / 0.9279 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.7117, allocations: 0.9144 MB / 0.9288 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.7117, allocations: 0 / 0.9288 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-05/0.7118, allocations: 39.98 kB / 0.9289 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.7119, allocations: 20 kB / 0.9289 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.7136, allocations: 1.104 MB / 0.93 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004044/0.7177, allocations: 2.464 MB / 0.9324 GB, free: 9.645 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.7191, allocations: 0.798 MB / 0.9331 GB, free: 8.844 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005264/0.7197, allocations: 302.6 kB / 0.9334 GB, free: 8.547 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.311e-05/0.7198, allocations: 36.66 kB / 0.9335 GB, free: 8.512 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008277/0.7206, allocations: 487.1 kB / 0.9339 GB, free: 8.016 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=80): time 3.807e-06/0.7206, allocations: 0 / 0.9339 GB, free: 8.016 MB / 0.7012 GB Notification: Performance of matching and sorting (n=80): time 0.003223/0.7238, allocations: 1.186 MB / 0.9351 GB, free: 6.801 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.724, allocations: 196.6 kB / 0.9353 GB, free: 6.566 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008674/0.7248, allocations: 0.6331 MB / 0.9359 GB, free: 5.93 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-05/0.7249, allocations: 41.7 kB / 0.9359 GB, free: 5.883 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.7253, allocations: 392.3 kB / 0.9363 GB, free: 5.492 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002265/0.7255, allocations: 260.3 kB / 0.9366 GB, free: 5.234 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002737/0.7258, allocations: 162.5 kB / 0.9367 GB, free: 5.066 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.726, allocations: 390.7 kB / 0.9371 GB, free: 4.676 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005405/0.7265, allocations: 269.8 kB / 0.9373 GB, free: 4.414 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006145/0.7272, allocations: 363 kB / 0.9377 GB, free: 4.047 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.7283, allocations: 0.6033 MB / 0.9383 GB, free: 3.43 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.7283, allocations: 0 / 0.9383 GB, free: 3.43 MB / 0.7012 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00195/0.7302, allocations: 0.8527 MB / 0.9391 GB, free: 2.57 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.7303, allocations: 6.812 kB / 0.9391 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.7303, allocations: 0 / 0.9391 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006184/0.7309, allocations: 84.83 kB / 0.9392 GB, free: 2.48 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006461/0.7316, allocations: 167.6 kB / 0.9394 GB, free: 2.316 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002403/0.734, allocations: 1.615 MB / 0.9409 GB, free: 0.5547 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007719/0.7348, allocations: 95.22 kB / 0.941 GB, free: 472 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.513e-05/0.7349, allocations: 39.97 kB / 0.9411 GB, free: 432 kB / 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 (95): * Single equations (assignments): 94 * 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.0004548/0.7353, allocations: 278 kB / 0.9413 GB, free: 148 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.7355, allocations: 79.06 kB / 0.9414 GB, free: 68 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002328/0.7379, allocations: 1.062 MB / 0.9424 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.7379, allocations: 8 kB / 0.9425 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.7379, allocations: 3.938 kB / 0.9425 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.7379, allocations: 3.984 kB / 0.9425 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.7389, allocations: 0.8955 MB / 0.9433 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.7389, allocations: 0 / 0.9433 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005606/0.7395, allocations: 139.8 kB / 0.9435 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004588/0.74, allocations: 76.78 kB / 0.9435 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.736e-05/0.74, allocations: 23.98 kB / 0.9436 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/0.7419, allocations: 1.654 MB / 0.9452 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7419, allocations: 0 / 0.9452 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/0.7438, allocations: 0.92 MB / 0.9461 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003864/0.7442, allocations: 267.7 kB / 0.9463 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.7443, allocations: 20.06 kB / 0.9464 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006058/0.7449, allocations: 71.92 kB / 0.9464 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.7451, allocations: 64.91 kB / 0.9465 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.119e-05/0.7452, allocations: 43.91 kB / 0.9465 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000571/0.7458, allocations: 455 kB / 0.947 GB, free: 10.13 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7458, allocations: 0 / 0.947 GB, free: 10.13 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000838/0.7466, allocations: 315.1 kB / 0.9473 GB, free: 9.82 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 (91): * Single equations (assignments): 85 * 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.001368/0.748, allocations: 0.6102 MB / 0.9479 GB, free: 9.387 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001693/0.7497, allocations: 0.8274 MB / 0.9487 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.7497, allocations: 0 / 0.9487 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009223/0.7506, allocations: 0.5081 MB / 0.9492 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.7518, allocations: 284.6 kB / 0.9494 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003784/0.7555, allocations: 1.776 MB / 0.9512 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006488/0.7562, allocations: 1.019 MB / 0.9522 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/0.7565, allocations: 119.4 kB / 0.9523 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of SimCode: time 4.91e-07/0.7565, allocations: 4 kB / 0.9523 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of Templates: time 0.4083/1.165, allocations: 18.34 MB / 0.9702 GB, free: 182.5 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)