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.001208/0.001208, allocations: 105.1 kB / 16.27 MB, free: 6.414 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.001339/0.001339, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.32/1.32, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002212/0.002212, allocations: 301.7 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9402/0.9402, allocations: 169.2 MB / 0.4988 GB, free: 4.516 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 92.38 kB / 0.5959 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1884, allocations: 86.97 MB / 0.6808 GB, free: 8.18 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006665/0.1951, allocations: 4.342 MB / 0.6851 GB, free: 3.812 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4864/0.6816, allocations: 150.5 MB / 0.8321 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008737/0.6825, allocations: 15.88 kB / 0.8321 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007369/0.6832, allocations: 177.4 kB / 0.8323 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001939/0.6853, allocations: 0.4964 MB / 0.8328 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002227/0.6875, allocations: 0.8227 MB / 0.8336 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001695/0.6892, allocations: 1.285 MB / 0.8348 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/0.6903, allocations: 0.6217 MB / 0.8354 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008508/0.6912, allocations: 462.4 kB / 0.8359 GB, free: 228 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007593/0.6919, allocations: 0.4938 MB / 0.8363 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003087/0.6923, allocations: 116 kB / 0.8365 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.6933, allocations: 455.7 kB / 0.8369 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003382/0.6937, allocations: 291.1 kB / 0.8372 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006626/0.6944, allocations: 0.5363 MB / 0.8377 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002283/0.6967, allocations: 1.557 MB / 0.8392 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.6967, allocations: 3.938 kB / 0.8392 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6967, allocations: 0 / 0.8392 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.29e-05/0.6967, allocations: 0 / 0.8392 GB, free: 12.78 MB / 0.6075 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.003131/0.6999, allocations: 1.409 MB / 0.8406 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.6999, allocations: 8.031 kB / 0.8406 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.701, allocations: 179.4 kB / 0.8408 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.7023, allocations: 0.7386 MB / 0.8415 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.011e-05/0.7024, allocations: 73.73 kB / 0.8416 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.7025, allocations: 80 kB / 0.8416 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/0.7042, allocations: 0.9106 MB / 0.8425 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.7042, allocations: 0 / 0.8425 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-05/0.7043, allocations: 35.98 kB / 0.8426 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.7044, allocations: 20 kB / 0.8426 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/0.7062, allocations: 1.104 MB / 0.8437 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004223/0.7104, allocations: 2.489 MB / 0.8461 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.7119, allocations: 0.7978 MB / 0.8469 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005537/0.7125, allocations: 302.6 kB / 0.8472 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-05/0.7126, allocations: 24.89 kB / 0.8472 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009291/0.7135, allocations: 0.4913 MB / 0.8477 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 3.237e-06/0.7136, allocations: 0 / 0.8477 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.003328/0.7169, allocations: 1.19 MB / 0.8488 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.717, allocations: 192.5 kB / 0.849 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009266/0.718, allocations: 0.6253 MB / 0.8496 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.869e-05/0.7181, allocations: 45.7 kB / 0.8497 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003563/0.7184, allocations: 392.3 kB / 0.85 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002434/0.7187, allocations: 264.3 kB / 0.8503 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/0.7189, allocations: 162.5 kB / 0.8504 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.7191, allocations: 390.7 kB / 0.8508 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005463/0.7197, allocations: 265.9 kB / 0.8511 GB, free: 324 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006735/0.7204, allocations: 363.1 kB / 0.8514 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.7215, allocations: 0.6018 MB / 0.852 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.7215, allocations: 0 / 0.852 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002111/0.7237, allocations: 0.8448 MB / 0.8528 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.7237, allocations: 8.094 kB / 0.8528 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.7237, allocations: 7.938 kB / 0.8528 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006268/0.7244, allocations: 84.77 kB / 0.8529 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006548/0.725, allocations: 159.8 kB / 0.8531 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002191/0.7272, allocations: 1.631 MB / 0.8547 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007891/0.728, allocations: 92.2 kB / 0.8548 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.46e-05/0.7281, allocations: 31.97 kB / 0.8548 GB, free: 12.33 MB / 0.6231 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.0005121/0.7286, allocations: 271.4 kB / 0.855 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/0.7289, allocations: 86.95 kB / 0.8551 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002411/0.7313, allocations: 1.055 MB / 0.8562 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.7313, allocations: 12 kB / 0.8562 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.7313, allocations: 0 / 0.8562 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.7314, allocations: 7.922 kB / 0.8562 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.7325, allocations: 0.8953 MB / 0.8571 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.7325, allocations: 4 kB / 0.8571 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005761/0.7331, allocations: 143.8 kB / 0.8572 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004665/0.7336, allocations: 72.78 kB / 0.8573 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-05/0.7336, allocations: 27.97 kB / 0.8573 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/0.7356, allocations: 1.662 MB / 0.8589 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.7356, allocations: 0 / 0.8589 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/0.7378, allocations: 0.924 MB / 0.8598 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004718/0.7383, allocations: 271.8 kB / 0.8601 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.7384, allocations: 19.94 kB / 0.8601 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006664/0.7391, allocations: 59.94 kB / 0.8602 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.7393, allocations: 68.89 kB / 0.8602 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.588e-05/0.7394, allocations: 35.98 kB / 0.8603 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006813/0.74, allocations: 459 kB / 0.8607 GB, free: 6.023 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.61e-07/0.7401, allocations: 0 / 0.8607 GB, free: 6.023 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001008/0.7411, allocations: 319.1 kB / 0.861 GB, free: 5.711 MB / 0.6231 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.00154/0.7426, allocations: 0.594 MB / 0.8616 GB, free: 5.297 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002565/0.7452, allocations: 1.035 MB / 0.8626 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.7452, allocations: 0 / 0.8626 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009483/0.7462, allocations: 0.5119 MB / 0.8631 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.7475, allocations: 289.6 kB / 0.8634 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004151/0.7516, allocations: 1.8 MB / 0.8651 GB, free: 1.637 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006276/0.7523, allocations: 1.012 MB / 0.8661 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003452/0.7527, allocations: 119.4 kB / 0.8662 GB, free: 492 kB / 0.6231 GB Notification: Performance of SimCode: time 1.012e-06/0.7527, allocations: 0 / 0.8662 GB, free: 492 kB / 0.6231 GB Notification: Performance of Templates: time 0.0254/0.7781, allocations: 18.26 MB / 0.884 GB, free: 14.32 MB / 0.6544 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)