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.001/0.001, allocations: 104.1 kB / 16.35 MB, free: 5.879 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.0009832/0.0009832, allocations: 194.2 kB / 17.3 MB, free: 5.52 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7637/0.7637, allocations: 135.1 MB / 426.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 67.89 kB / 0.5068 GB, free: 7.629 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4076, allocations: 80.9 MB / 0.5858 GB, free: 25.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005838/0.4135, allocations: 4.122 MB / 0.5898 GB, free: 22.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1698/0.5833, allocations: 150.4 MB / 0.7367 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009962/0.5843, allocations: 15.88 kB / 0.7367 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005748/0.5849, allocations: 166.5 kB / 0.7369 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001577/0.5866, allocations: 479.8 kB / 0.7373 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.5885, allocations: 0.7815 MB / 0.7381 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001152/0.5896, allocations: 1.168 MB / 0.7392 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008547/0.5905, allocations: 0.6 MB / 0.7398 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004866/0.591, allocations: 426.5 kB / 0.7402 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004774/0.5915, allocations: 442 kB / 0.7406 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.5916, allocations: 107.9 kB / 0.7407 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008356/0.5925, allocations: 467.6 kB / 0.7412 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002578/0.5927, allocations: 267.2 kB / 0.7414 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004022/0.5931, allocations: 497.3 kB / 0.7419 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.5947, allocations: 1.468 MB / 0.7433 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5947, allocations: 0 / 0.7433 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.674e-06/0.5947, allocations: 0 / 0.7433 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.5947, allocations: 0 / 0.7433 GB, free: 8.609 MB / 0.5762 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.002262/0.597, allocations: 1.321 MB / 0.7446 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.597, allocations: 9.109 kB / 0.7446 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009073/0.598, allocations: 175.5 kB / 0.7448 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.5991, allocations: 0.7189 MB / 0.7455 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.136e-05/0.5992, allocations: 58 kB / 0.7456 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.5993, allocations: 76 kB / 0.7456 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.6006, allocations: 0.852 MB / 0.7465 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.6007, allocations: 4 kB / 0.7465 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.062e-05/0.6007, allocations: 36 kB / 0.7465 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.6008, allocations: 19.98 kB / 0.7465 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/0.6023, allocations: 1.054 MB / 0.7476 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003464/0.6058, allocations: 2.319 MB / 0.7498 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.607, allocations: 0.7057 MB / 0.7505 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004625/0.6075, allocations: 271.5 kB / 0.7508 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.62e-05/0.6075, allocations: 28.67 kB / 0.7508 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007279/0.6083, allocations: 431 kB / 0.7512 GB, free: 328 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=71): time 2.705e-06/0.6083, allocations: 0 / 0.7512 GB, free: 328 kB / 0.5762 GB Notification: Performance of matching and sorting (n=71): time 0.3606/0.9689, allocations: 1.056 MB / 0.7522 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.475e-05/0.9691, allocations: 188.7 kB / 0.7524 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.9703, allocations: 0.5937 MB / 0.753 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.9704, allocations: 37.73 kB / 0.753 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000353/0.9708, allocations: 377.1 kB / 0.7534 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/0.971, allocations: 234 kB / 0.7536 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003389/0.9714, allocations: 148.8 kB / 0.7538 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.9715, allocations: 378.3 kB / 0.7541 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005087/0.972, allocations: 235.2 kB / 0.7544 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006386/0.9727, allocations: 323.7 kB / 0.7547 GB, free: 164 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.9739, allocations: 0.5446 MB / 0.7552 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/0.974, allocations: 4.281 kB / 0.7552 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002399/0.9764, allocations: 0.7613 MB / 0.7559 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.9764, allocations: 8.703 kB / 0.7559 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.9764, allocations: 1.406 kB / 0.7559 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006731/0.9771, allocations: 77.88 kB / 0.756 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007033/0.9778, allocations: 148.1 kB / 0.7562 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/0.9799, allocations: 1.637 MB / 0.7578 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006914/0.9806, allocations: 75.7 kB / 0.7578 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.9807, allocations: 35.7 kB / 0.7579 GB, free: 161.9 MB / 0.5762 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (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.000499/0.9812, allocations: 251 kB / 0.7581 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/0.9815, allocations: 79.12 kB / 0.7582 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002613/0.9841, allocations: 0.9577 MB / 0.7591 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.9841, allocations: 8.312 kB / 0.7591 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.9841, allocations: 3.094 kB / 0.7591 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.9842, allocations: 12.77 kB / 0.7591 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.9853, allocations: 0.8237 MB / 0.7599 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.9853, allocations: 0.5 kB / 0.7599 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006303/0.986, allocations: 138.5 kB / 0.7601 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004351/0.9864, allocations: 71.66 kB / 0.7601 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.606e-05/0.9865, allocations: 22.53 kB / 0.7602 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/0.9884, allocations: 1.653 MB / 0.7618 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.9884, allocations: 0.5 kB / 0.7618 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002173/0.9906, allocations: 0.8282 MB / 0.7626 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004058/0.991, allocations: 247.2 kB / 0.7628 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.9911, allocations: 18.06 kB / 0.7628 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005157/0.9916, allocations: 57.31 kB / 0.7629 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.9918, allocations: 62.95 kB / 0.763 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.044e-05/0.9919, allocations: 27.98 kB / 0.763 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005879/0.9925, allocations: 429 kB / 0.7634 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9925, allocations: 3.438 kB / 0.7634 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009452/0.9935, allocations: 285.9 kB / 0.7637 GB, free: 158.3 MB / 0.5762 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 (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.001442/0.9949, allocations: 0.5991 MB / 0.7643 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001552/0.9965, allocations: 0.7456 MB / 0.765 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.9965, allocations: 1.156 kB / 0.765 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000694/0.9972, allocations: 476.1 kB / 0.7654 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009153/0.9981, allocations: 281.5 kB / 0.7657 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003011/1.001, allocations: 1.627 MB / 0.7673 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/1.002, allocations: 0.9937 MB / 0.7683 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006069/1.002, allocations: 254.1 kB / 0.7685 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/1.002, allocations: 98.61 kB / 0.7686 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of SimCode: time 3.4e-07/1.002, allocations: 0 / 0.7686 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.01811/1.02, allocations: 13.55 MB / 0.7818 GB, free: 141.4 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)