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.001279/0.001279, allocations: 111.8 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.00119/0.00119, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.39/1.39, 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.002542/0.002542, allocations: 293.6 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.014/1.014, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002764/0.002764, allocations: 99.83 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4811/0.4839, allocations: 86.99 MB / 0.767 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006424/0.4903, allocations: 4.338 MB / 0.7713 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.183/0.6732, allocations: 151 MB / 0.9187 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008228/0.6741, allocations: 19.88 kB / 0.9187 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005741/0.6746, allocations: 170.4 kB / 0.9189 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.6763, allocations: 0.5089 MB / 0.9194 GB, free: 7.316 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.6782, allocations: 0.8205 MB / 0.9202 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001526/0.6797, allocations: 1.301 MB / 0.9215 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007801/0.6805, allocations: 462.8 kB / 0.9219 GB, free: 4.723 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000658/0.6811, allocations: 478.3 kB / 0.9224 GB, free: 4.254 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006082/0.6818, allocations: 496.5 kB / 0.9228 GB, free: 3.77 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.6819, allocations: 116 kB / 0.923 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009188/0.6828, allocations: 487.6 kB / 0.9234 GB, free: 3.18 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003351/0.6832, allocations: 287.1 kB / 0.9237 GB, free: 2.898 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005181/0.6837, allocations: 0.5362 MB / 0.9242 GB, free: 2.359 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002042/0.6857, allocations: 1.609 MB / 0.9258 GB, free: 0.75 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6857, allocations: 0 / 0.9258 GB, free: 0.75 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6857, allocations: 0 / 0.9258 GB, free: 0.75 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.931e-05/0.6858, allocations: 0 / 0.9258 GB, free: 0.75 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.002746/0.6885, allocations: 1.452 MB / 0.9272 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.6885, allocations: 8.031 kB / 0.9272 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009695/0.6895, allocations: 188.1 kB / 0.9274 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.6909, allocations: 0.7623 MB / 0.9281 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.968e-05/0.6909, allocations: 62 kB / 0.9282 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.6911, allocations: 80 kB / 0.9283 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.6927, allocations: 0.9183 MB / 0.9292 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.6927, allocations: 4 kB / 0.9292 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-05/0.6928, allocations: 36 kB / 0.9292 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/0.6929, allocations: 23.98 kB / 0.9292 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001889/0.6948, allocations: 1.1 MB / 0.9303 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004213/0.699, allocations: 2.462 MB / 0.9327 GB, free: 9.457 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.7005, allocations: 0.7472 MB / 0.9334 GB, free: 8.707 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005462/0.7011, allocations: 270.6 kB / 0.9337 GB, free: 8.441 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 9e-05/0.7012, allocations: 36.67 kB / 0.9337 GB, free: 8.406 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009078/0.7021, allocations: 495.1 kB / 0.9342 GB, free: 7.902 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=80): time 2.655e-06/0.7021, allocations: 0 / 0.9342 GB, free: 7.902 MB / 0.7012 GB Notification: Performance of matching and sorting (n=80): time 0.003429/0.7055, allocations: 1.19 MB / 0.9354 GB, free: 6.684 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.7056, allocations: 192.6 kB / 0.9355 GB, free: 6.453 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008925/0.7065, allocations: 0.6254 MB / 0.9362 GB, free: 5.824 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.417e-05/0.7066, allocations: 41.7 kB / 0.9362 GB, free: 5.777 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/0.707, allocations: 409 kB / 0.9366 GB, free: 5.371 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.00027/0.7073, allocations: 269.7 kB / 0.9368 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002582/0.7075, allocations: 166.6 kB / 0.937 GB, free: 4.934 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002235/0.7077, allocations: 386.7 kB / 0.9374 GB, free: 4.547 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000574/0.7083, allocations: 269.8 kB / 0.9376 GB, free: 4.285 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000697/0.709, allocations: 367.1 kB / 0.938 GB, free: 3.914 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.7102, allocations: 0.5994 MB / 0.9386 GB, free: 3.301 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.7102, allocations: 0 / 0.9386 GB, free: 3.301 MB / 0.7012 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002149/0.7123, allocations: 0.8569 MB / 0.9394 GB, free: 2.438 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.7123, allocations: 8.094 kB / 0.9394 GB, free: 2.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.7124, allocations: 8.062 kB / 0.9394 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006093/0.713, allocations: 80.78 kB / 0.9395 GB, free: 2.34 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006753/0.7136, allocations: 167.7 kB / 0.9397 GB, free: 2.176 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/0.7161, allocations: 1.619 MB / 0.9412 GB, free: 420 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007905/0.7169, allocations: 95.48 kB / 0.9413 GB, free: 324 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.158e-05/0.717, allocations: 35.98 kB / 0.9414 GB, free: 288 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.0005166/0.7175, allocations: 269.9 kB / 0.9416 GB, free: 12 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/0.7177, allocations: 95.62 kB / 0.9417 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002519/0.7202, allocations: 1.05 MB / 0.9427 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.7202, allocations: 8 kB / 0.9427 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.7202, allocations: 3.75 kB / 0.9427 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.7202, allocations: 3.984 kB / 0.9428 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.7214, allocations: 0.888 MB / 0.9436 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.7214, allocations: 4 kB / 0.9436 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005999/0.722, allocations: 143.8 kB / 0.9438 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004603/0.7225, allocations: 72.78 kB / 0.9438 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.674e-05/0.7225, allocations: 27.92 kB / 0.9439 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002184/0.7247, allocations: 1.666 MB / 0.9455 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7247, allocations: 0 / 0.9455 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/0.7268, allocations: 0.9244 MB / 0.9464 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004187/0.7272, allocations: 272.2 kB / 0.9466 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.7273, allocations: 16 kB / 0.9467 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006256/0.728, allocations: 67.92 kB / 0.9467 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.7281, allocations: 72.84 kB / 0.9468 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-05/0.7282, allocations: 35.97 kB / 0.9468 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006134/0.7288, allocations: 451 kB / 0.9473 GB, free: 9.984 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.7288, allocations: 0 / 0.9473 GB, free: 9.984 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008657/0.7297, allocations: 319.1 kB / 0.9476 GB, free: 9.672 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.001967/0.7316, allocations: 0.6082 MB / 0.9482 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001838/0.7335, allocations: 0.796 MB / 0.9489 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.7335, allocations: 4.188 kB / 0.9489 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000953/0.7344, allocations: 496.1 kB / 0.9494 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.7357, allocations: 294.8 kB / 0.9497 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/0.7398, allocations: 1.753 MB / 0.9514 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006942/0.7405, allocations: 1.027 MB / 0.9524 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008489/0.7413, allocations: 262.5 kB / 0.9527 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/0.7416, allocations: 107.4 kB / 0.9528 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of SimCode: time 9.51e-07/0.7416, allocations: 0 / 0.9528 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of Templates: time 0.4158/1.157, allocations: 14.83 MB / 0.9672 GB, free: 184.8 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)