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.005586/0.005592, allocations: 100.7 kB / 15.73 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.001435/0.001435, allocations: 194.6 kB / 16.67 MB, free: 6.379 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002077/0.002077, allocations: 286.5 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9505/0.9505, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 95.84 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1639, allocations: 86.99 MB / 0.7664 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005948/0.1698, allocations: 4.721 MB / 0.771 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4948/0.6647, allocations: 150.7 MB / 0.9182 GB, free: 7.133 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.6659, allocations: 23.88 kB / 0.9182 GB, free: 7.109 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0009351/0.6668, allocations: 190.3 kB / 0.9184 GB, free: 6.926 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002293/0.6692, allocations: 0.5357 MB / 0.9189 GB, free: 6.406 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002222/0.6714, allocations: 0.8488 MB / 0.9197 GB, free: 5.582 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001882/0.6733, allocations: 1.456 MB / 0.9211 GB, free: 4.121 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001404/0.6748, allocations: 0.9243 MB / 0.922 GB, free: 3.156 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009705/0.6757, allocations: 0.5868 MB / 0.9226 GB, free: 2.57 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00089/0.6766, allocations: 0.6222 MB / 0.9232 GB, free: 1.945 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003519/0.677, allocations: 160 kB / 0.9234 GB, free: 1.789 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.6783, allocations: 0.509 MB / 0.9239 GB, free: 1.281 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004447/0.6787, allocations: 374.7 kB / 0.9242 GB, free: 0.9141 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006798/0.6794, allocations: 0.7006 MB / 0.9249 GB, free: 216 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00249/0.6819, allocations: 1.965 MB / 0.9268 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.6819, allocations: 0 / 0.9268 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6819, allocations: 0 / 0.9268 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.556e-05/0.682, allocations: 0 / 0.9268 GB, free: 14.25 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002983/0.6849, allocations: 1.686 MB / 0.9285 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.685, allocations: 12.03 kB / 0.9285 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009209/0.6859, allocations: 211.1 kB / 0.9287 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.6872, allocations: 0.872 MB / 0.9295 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.759e-05/0.6873, allocations: 86.41 kB / 0.9296 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001969/0.6875, allocations: 120 kB / 0.9297 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002209/0.6897, allocations: 1.209 MB / 0.9309 GB, free: 9.895 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.6897, allocations: 0.5625 kB / 0.9309 GB, free: 9.895 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-05/0.6898, allocations: 48 kB / 0.931 GB, free: 9.848 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/0.6898, allocations: 35.94 kB / 0.931 GB, free: 9.812 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002066/0.6919, allocations: 1.281 MB / 0.9323 GB, free: 8.523 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00475/0.6967, allocations: 3.112 MB / 0.9353 GB, free: 5.344 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.6982, allocations: 0.8555 MB / 0.9361 GB, free: 4.488 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005458/0.6988, allocations: 331.3 kB / 0.9364 GB, free: 4.156 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.896e-05/0.6988, allocations: 32.53 kB / 0.9365 GB, free: 4.125 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009938/0.6998, allocations: 0.5198 MB / 0.937 GB, free: 3.594 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=87): time 2.655e-06/0.6999, allocations: 0 / 0.937 GB, free: 3.594 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87): time 0.003347/0.7032, allocations: 1.274 MB / 0.9382 GB, free: 2.293 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.7034, allocations: 192.9 kB / 0.9384 GB, free: 2.059 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.7046, allocations: 0.7352 MB / 0.9391 GB, free: 1.312 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.192e-05/0.7046, allocations: 45.69 kB / 0.9392 GB, free: 1.262 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004709/0.7051, allocations: 0.5115 MB / 0.9397 GB, free: 0.7422 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/0.7054, allocations: 288 kB / 0.9399 GB, free: 468 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002448/0.7056, allocations: 174.5 kB / 0.9401 GB, free: 288 kB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.7058, allocations: 341.9 kB / 0.9404 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005341/0.7063, allocations: 297.8 kB / 0.9407 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006855/0.707, allocations: 383.1 kB / 0.9411 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.7082, allocations: 0.6555 MB / 0.9417 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.7082, allocations: 0 / 0.9417 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002054/0.7102, allocations: 0.9189 MB / 0.9426 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.7103, allocations: 8 kB / 0.9426 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.7103, allocations: 0 / 0.9426 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005508/0.7108, allocations: 84.81 kB / 0.9427 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007125/0.7116, allocations: 175.7 kB / 0.9429 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/0.7138, allocations: 1.631 MB / 0.9445 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007678/0.7146, allocations: 106.4 kB / 0.9446 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-05/0.7147, allocations: 39.97 kB / 0.9446 GB, free: 11.49 MB / 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 (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.0005121/0.7152, allocations: 299.4 kB / 0.9449 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/0.7154, allocations: 98.86 kB / 0.945 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/0.7179, allocations: 1.12 MB / 0.9461 GB, free: 9.969 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.7179, allocations: 8 kB / 0.9461 GB, free: 9.961 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.7179, allocations: 3.938 kB / 0.9461 GB, free: 9.957 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.7179, allocations: 7.984 kB / 0.9461 GB, free: 9.949 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.7191, allocations: 1.048 MB / 0.9471 GB, free: 8.852 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.7192, allocations: 0 / 0.9471 GB, free: 8.852 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/0.7198, allocations: 155.8 kB / 0.9473 GB, free: 8.699 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004166/0.7202, allocations: 68.8 kB / 0.9473 GB, free: 8.629 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.7203, allocations: 31.95 kB / 0.9474 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001925/0.7223, allocations: 1.658 MB / 0.949 GB, free: 6.789 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.7223, allocations: 0 / 0.949 GB, free: 6.789 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.7244, allocations: 0.9785 MB / 0.9499 GB, free: 5.789 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003713/0.7248, allocations: 287.6 kB / 0.9502 GB, free: 5.488 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.7249, allocations: 27.94 kB / 0.9502 GB, free: 5.461 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006029/0.7255, allocations: 63.98 kB / 0.9503 GB, free: 5.398 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/0.7257, allocations: 84.72 kB / 0.9504 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.427e-05/0.7258, allocations: 39.97 kB / 0.9504 GB, free: 5.277 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006596/0.7264, allocations: 0.5107 MB / 0.9509 GB, free: 4.77 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7265, allocations: 4 kB / 0.9509 GB, free: 4.766 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009811/0.7274, allocations: 362.9 kB / 0.9513 GB, free: 4.41 MB / 0.7012 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.001517/0.729, allocations: 0.61 MB / 0.9519 GB, free: 3.977 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001814/0.7308, allocations: 0.8871 MB / 0.9527 GB, free: 3.078 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7308, allocations: 0 / 0.9527 GB, free: 3.078 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009469/0.7318, allocations: 0.5431 MB / 0.9533 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.7331, allocations: 314.5 kB / 0.9536 GB, free: 2.25 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004267/0.7374, allocations: 2.07 MB / 0.9556 GB, free: 156 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007341/0.7381, allocations: 1.11 MB / 0.9567 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008312/0.739, allocations: 267.4 kB / 0.9569 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/0.7392, allocations: 103.4 kB / 0.957 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of SimCode: time 5.91e-07/0.7393, allocations: 7.938 kB / 0.957 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of Templates: time 0.02733/0.7666, allocations: 16.06 MB / 0.9727 GB, free: 14.75 MB / 0.7325 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)