Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0007583/0.0007583, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004795/0.004796, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.464/1.464, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7604/0.7604, allocations: 132.3 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003389, allocations: 12.56 kB / 0.504 GB, free: 3.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4519/0.4522, allocations: 81.57 MB / 0.5837 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.00474/0.457, allocations: 3.728 MB / 0.5873 GB, free: 1.359 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1826/0.6396, allocations: 146.5 MB / 0.7304 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009043/0.6406, allocations: 15.88 kB / 0.7304 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006704/0.6413, allocations: 131 kB / 0.7306 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001921/0.6432, allocations: 389.4 kB / 0.7309 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.6452, allocations: 0.6864 MB / 0.7316 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001558/0.6468, allocations: 1.09 MB / 0.7327 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009754/0.6478, allocations: 0.5667 MB / 0.7332 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006261/0.6484, allocations: 294.5 kB / 0.7335 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005974/0.649, allocations: 322.2 kB / 0.7338 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.6492, allocations: 24 kB / 0.7338 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008887/0.65, allocations: 367.6 kB / 0.7342 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000198/0.6503, allocations: 163.2 kB / 0.7343 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004379/0.6507, allocations: 415.1 kB / 0.7347 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001633/0.6523, allocations: 1.335 MB / 0.736 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.6524, allocations: 0 / 0.736 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6524, allocations: 4 kB / 0.736 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.965e-05/0.6524, allocations: 0 / 0.736 GB, free: 3.883 MB / 0.5606 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.002074/0.6545, allocations: 1.124 MB / 0.7371 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.6545, allocations: 8.031 kB / 0.7371 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009353/0.6555, allocations: 183.5 kB / 0.7373 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.6565, allocations: 0.7072 MB / 0.738 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.831e-05/0.6566, allocations: 54 kB / 0.7381 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.6567, allocations: 76 kB / 0.7381 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.6582, allocations: 0.852 MB / 0.739 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.6582, allocations: 0 / 0.739 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.331e-05/0.6583, allocations: 32 kB / 0.739 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.6583, allocations: 24 kB / 0.739 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/0.66, allocations: 1.065 MB / 0.7401 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003909/0.6639, allocations: 2.382 MB / 0.7424 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.6652, allocations: 0.7097 MB / 0.7431 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004864/0.6657, allocations: 283.5 kB / 0.7433 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.172e-05/0.6658, allocations: 24.69 kB / 0.7434 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007691/0.6666, allocations: 431.1 kB / 0.7438 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=71): time 3.647e-06/0.6666, allocations: 0 / 0.7438 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71): time 0.00309/0.6697, allocations: 1.077 MB / 0.7448 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/0.6699, allocations: 192.6 kB / 0.745 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008583/0.6707, allocations: 0.5938 MB / 0.7456 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.366e-05/0.6708, allocations: 37.7 kB / 0.7456 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003812/0.6712, allocations: 376.3 kB / 0.746 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.6714, allocations: 232.6 kB / 0.7462 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.09e-05/0.6715, allocations: 57.69 kB / 0.7463 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.6717, allocations: 390.8 kB / 0.7466 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004884/0.6722, allocations: 229.9 kB / 0.7469 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005765/0.6728, allocations: 334.8 kB / 0.7472 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.6739, allocations: 0.5472 MB / 0.7477 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.6739, allocations: 0 / 0.7477 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001953/0.6758, allocations: 0.7744 MB / 0.7485 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.6759, allocations: 4 kB / 0.7485 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.6759, allocations: 3.984 kB / 0.7485 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000629/0.6765, allocations: 84.84 kB / 0.7486 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/0.6771, allocations: 147.8 kB / 0.7487 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/0.6795, allocations: 1.534 MB / 0.7502 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006949/0.6802, allocations: 85.08 kB / 0.7503 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.408e-05/0.6803, allocations: 27.98 kB / 0.7503 GB, free: 4.754 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.0004336/0.6807, allocations: 246.3 kB / 0.7505 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.6808, allocations: 83.05 kB / 0.7506 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002321/0.6832, allocations: 0.9783 MB / 0.7516 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.6832, allocations: 8 kB / 0.7516 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.6832, allocations: 0 / 0.7516 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.6832, allocations: 3.984 kB / 0.7516 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.6843, allocations: 0.8177 MB / 0.7524 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.6843, allocations: 0 / 0.7524 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005463/0.6848, allocations: 143.8 kB / 0.7525 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005429/0.6854, allocations: 84.77 kB / 0.7526 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.819e-05/0.6855, allocations: 19.98 kB / 0.7526 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001889/0.6874, allocations: 1.548 MB / 0.7541 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6874, allocations: 0 / 0.7541 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.6892, allocations: 0.8342 MB / 0.7549 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003871/0.6896, allocations: 267.8 kB / 0.7552 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.6897, allocations: 20 kB / 0.7552 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000584/0.6903, allocations: 68.52 kB / 0.7553 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.6904, allocations: 60.91 kB / 0.7553 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/0.6905, allocations: 36.05 kB / 0.7554 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000556/0.6911, allocations: 431 kB / 0.7558 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6911, allocations: 0 / 0.7558 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008385/0.6919, allocations: 279.4 kB / 0.7561 GB, free: 14.61 MB / 0.5919 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.00143/0.6934, allocations: 0.5894 MB / 0.7566 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0016/0.695, allocations: 0.751 MB / 0.7574 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.695, allocations: 8 kB / 0.7574 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008647/0.6959, allocations: 484.5 kB / 0.7578 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.6972, allocations: 261.4 kB / 0.7581 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004108/0.7013, allocations: 2.068 MB / 0.7601 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006016/0.702, allocations: 0.9982 MB / 0.7611 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008188/0.7028, allocations: 246 kB / 0.7613 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/0.703, allocations: 99.39 kB / 0.7614 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of SimCode: time 6.41e-07/0.7031, allocations: 4 kB / 0.7614 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of Templates: time 0.02396/0.727, allocations: 12.97 MB / 0.7741 GB, free: 12.5 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)