Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0008369/0.0008372, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009487/0.0009489, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9365/0.9365, allocations: 135.3 MB / 426.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.000297, allocations: 9.438 kB / 0.507 GB, free: 5.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1741, allocations: 82.31 MB / 0.5874 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005015/0.1792, allocations: 3.522 MB / 0.5908 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4852/0.6645, allocations: 136.6 MB / 0.7243 GB, free: 7.715 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007213/0.6653, allocations: 22 kB / 0.7243 GB, free: 7.703 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005419/0.6658, allocations: 126.7 kB / 0.7244 GB, free: 7.633 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001843/0.6677, allocations: 377.2 kB / 0.7248 GB, free: 7.426 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002458/0.6702, allocations: 0.6069 MB / 0.7254 GB, free: 7.125 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001823/0.672, allocations: 0.9966 MB / 0.7263 GB, free: 6.633 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008961/0.6729, allocations: 459.1 kB / 0.7268 GB, free: 6.453 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006186/0.6735, allocations: 283.2 kB / 0.727 GB, free: 6.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004944/0.674, allocations: 315.3 kB / 0.7273 GB, free: 6.191 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.842e-05/0.6741, allocations: 21.53 kB / 0.7274 GB, free: 6.191 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009743/0.6751, allocations: 329.8 kB / 0.7277 GB, free: 6.105 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00025/0.6753, allocations: 164 kB / 0.7278 GB, free: 6.027 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.6755, allocations: 180.9 kB / 0.728 GB, free: 5.898 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001616/0.6772, allocations: 1.052 MB / 0.729 GB, free: 5.621 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.6772, allocations: 1 kB / 0.729 GB, free: 5.621 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.284e-06/0.6772, allocations: 0 / 0.729 GB, free: 5.621 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.59e-05/0.6772, allocations: 0 / 0.729 GB, free: 5.621 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002345/0.6796, allocations: 1.126 MB / 0.7301 GB, free: 4.824 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.6796, allocations: 10.72 kB / 0.7301 GB, free: 4.824 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009197/0.6806, allocations: 188.3 kB / 0.7303 GB, free: 4.766 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.6817, allocations: 0.6711 MB / 0.731 GB, free: 4.328 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.693e-05/0.6818, allocations: 63.44 kB / 0.731 GB, free: 4.297 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.6819, allocations: 76.36 kB / 0.7311 GB, free: 4.273 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.6836, allocations: 0.8559 MB / 0.7319 GB, free: 3.867 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.6836, allocations: 0 / 0.7319 GB, free: 3.867 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-05/0.6837, allocations: 32.22 kB / 0.732 GB, free: 3.844 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.6837, allocations: 20 kB / 0.732 GB, free: 3.844 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.6855, allocations: 1.066 MB / 0.733 GB, free: 3.594 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003805/0.6893, allocations: 2.377 MB / 0.7354 GB, free: 2.254 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.6906, allocations: 0.7127 MB / 0.736 GB, free: 1.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005068/0.6911, allocations: 265.6 kB / 0.7363 GB, free: 1.883 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.336e-05/0.6912, allocations: 36.48 kB / 0.7363 GB, free: 1.867 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008197/0.692, allocations: 425.9 kB / 0.7367 GB, free: 1.625 MB / 0.545 GB Notification: Performance of pre-optimization done (n=71): time 2.605e-06/0.6921, allocations: 0 / 0.7367 GB, free: 1.625 MB / 0.545 GB Notification: Performance of matching and sorting (n=71): time 0.002734/0.6948, allocations: 1.069 MB / 0.7378 GB, free: 1.043 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.6949, allocations: 191.2 kB / 0.738 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007181/0.6956, allocations: 0.5814 MB / 0.7385 GB, free: 484 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.885e-05/0.6957, allocations: 47.41 kB / 0.7386 GB, free: 436 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/0.696, allocations: 371.6 kB / 0.7389 GB, free: 100 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.6962, allocations: 236.5 kB / 0.7392 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.6962, allocations: 15.31 kB / 0.7392 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.6964, allocations: 381.6 kB / 0.7395 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003979/0.6968, allocations: 234.3 kB / 0.7398 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004826/0.6973, allocations: 319.9 kB / 0.7401 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004866/0.6978, allocations: 274.5 kB / 0.7403 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.6978, allocations: 0 / 0.7403 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001587/0.6994, allocations: 0.7715 MB / 0.7411 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.6994, allocations: 9.312 kB / 0.7411 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.6995, allocations: 0.5469 kB / 0.7411 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005099/0.7, allocations: 85.55 kB / 0.7412 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005415/0.7005, allocations: 146.7 kB / 0.7413 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001977/0.7025, allocations: 1.515 MB / 0.7428 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006289/0.7032, allocations: 87.33 kB / 0.7429 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.479e-05/0.7032, allocations: 34.73 kB / 0.7429 GB, free: 13.06 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004848/0.7037, allocations: 250.5 kB / 0.7431 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.7039, allocations: 87.08 kB / 0.7432 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00211/0.706, allocations: 0.9711 MB / 0.7442 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.706, allocations: 8 kB / 0.7442 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.706, allocations: 7.922 kB / 0.7442 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.706, allocations: 3.984 kB / 0.7442 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009964/0.707, allocations: 0.8177 MB / 0.745 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.707, allocations: 0 / 0.745 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005117/0.7076, allocations: 143.8 kB / 0.7451 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004393/0.708, allocations: 80.78 kB / 0.7452 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.652e-05/0.7081, allocations: 22.61 kB / 0.7452 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/0.7098, allocations: 1.548 MB / 0.7467 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.7099, allocations: 0 / 0.7467 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.7115, allocations: 0.8303 MB / 0.7476 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003638/0.7119, allocations: 263.8 kB / 0.7478 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.421e-05/0.712, allocations: 16 kB / 0.7478 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004639/0.7125, allocations: 71.89 kB / 0.7479 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.7126, allocations: 60.92 kB / 0.748 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-05/0.7127, allocations: 31.97 kB / 0.748 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005123/0.7132, allocations: 419.1 kB / 0.7484 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7132, allocations: 0 / 0.7484 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009083/0.7141, allocations: 287.2 kB / 0.7487 GB, free: 7.012 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001236/0.7154, allocations: 0.5858 MB / 0.7492 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001388/0.7168, allocations: 0.7464 MB / 0.75 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.7168, allocations: 4.188 kB / 0.75 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007304/0.7175, allocations: 480.8 kB / 0.7504 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.7186, allocations: 254.4 kB / 0.7507 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/0.7224, allocations: 1.998 MB / 0.7526 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005783/0.723, allocations: 0.9995 MB / 0.7536 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008084/0.7238, allocations: 254 kB / 0.7538 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.724, allocations: 91.39 kB / 0.7539 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of SimCode: time 1.002e-06/0.724, allocations: 0 / 0.7539 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of Templates: time 0.02284/0.7469, allocations: 12.58 MB / 0.7662 GB, free: 5.328 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)