Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005343/0.005343, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.00123/0.00123, allocations: 197.2 kB / 16.67 MB, free: 5.973 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.398/1.398, 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/IDEAS 3.0.0/package.mo): time 0.7449/0.7449, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 63.91 kB / 0.5813 GB, free: 7.586 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5207/0.5219, allocations: 80.19 MB / 0.6596 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.00592/0.5278, allocations: 4.922 MB / 0.6645 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1828/0.7107, allocations: 150.8 MB / 0.8117 GB, free: 9.984 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009592/0.7117, allocations: 23.88 kB / 0.8117 GB, free: 9.961 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006248/0.7124, allocations: 202.1 kB / 0.8119 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002234/0.7146, allocations: 0.5521 MB / 0.8125 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003007/0.7176, allocations: 0.9315 MB / 0.8134 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002402/0.72, allocations: 1.553 MB / 0.8149 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001647/0.7217, allocations: 1.158 MB / 0.816 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000962/0.7227, allocations: 0.6811 MB / 0.8167 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007722/0.7235, allocations: 0.7311 MB / 0.8174 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002137/0.7237, allocations: 192 kB / 0.8176 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.7248, allocations: 0.5465 MB / 0.8181 GB, free: 3.383 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003492/0.7252, allocations: 434.6 kB / 0.8185 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006489/0.7259, allocations: 0.8122 MB / 0.8193 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002487/0.7284, allocations: 2.327 MB / 0.8216 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.7284, allocations: 0 / 0.8216 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7284, allocations: 0 / 0.8216 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.007e-05/0.7284, allocations: 0 / 0.8216 GB, free: 15.8 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.003482/0.7319, allocations: 1.862 MB / 0.8234 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.732, allocations: 8.031 kB / 0.8234 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.733, allocations: 251.7 kB / 0.8237 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.7343, allocations: 0.9311 MB / 0.8246 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.7345, allocations: 136.7 kB / 0.8247 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.7346, allocations: 143.9 kB / 0.8249 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.737, allocations: 1.469 MB / 0.8263 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/0.737, allocations: 0 / 0.8263 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.7371, allocations: 60 kB / 0.8263 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.901e-05/0.7372, allocations: 36 kB / 0.8264 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002221/0.7394, allocations: 1.498 MB / 0.8278 GB, free: 9.254 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005451/0.7448, allocations: 3.887 MB / 0.8316 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.7463, allocations: 0.9042 MB / 0.8325 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005694/0.7469, allocations: 367.7 kB / 0.8329 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.747, allocations: 41.08 kB / 0.8329 GB, free: 3.984 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009465/0.748, allocations: 0.5479 MB / 0.8334 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=93): time 2.254e-06/0.748, allocations: 4 kB / 0.8334 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of matching and sorting (n=93): time 0.003215/0.7512, allocations: 1.372 MB / 0.8348 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.7513, allocations: 200.9 kB / 0.835 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009054/0.7522, allocations: 0.7589 MB / 0.8357 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.365e-05/0.7523, allocations: 41.7 kB / 0.8358 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000421/0.7527, allocations: 0.5907 MB / 0.8363 GB, free: 376 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000224/0.753, allocations: 325.2 kB / 0.8366 GB, free: 48 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002832/0.7532, allocations: 198.5 kB / 0.8368 GB, free: 15.84 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.7534, allocations: 338 kB / 0.8372 GB, free: 15.51 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005769/0.754, allocations: 333.8 kB / 0.8375 GB, free: 15.18 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006812/0.7546, allocations: 431.9 kB / 0.8379 GB, free: 14.74 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.7559, allocations: 0.7616 MB / 0.8386 GB, free: 13.96 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.756, allocations: 0 / 0.8386 GB, free: 13.96 MB / 0.67 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002063/0.758, allocations: 1.033 MB / 0.8396 GB, free: 12.93 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.7581, allocations: 4 kB / 0.8396 GB, free: 12.92 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.7581, allocations: 11.92 kB / 0.8397 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005558/0.7586, allocations: 88.78 kB / 0.8397 GB, free: 12.82 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007821/0.7594, allocations: 199.7 kB / 0.8399 GB, free: 12.62 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/0.7614, allocations: 1.647 MB / 0.8415 GB, free: 10.84 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007336/0.7621, allocations: 116.9 kB / 0.8417 GB, free: 10.72 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.187e-05/0.7622, allocations: 51.89 kB / 0.8417 GB, free: 10.67 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (111): * Single equations (assignments): 110 * 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.0005592/0.7628, allocations: 316.1 kB / 0.842 GB, free: 10.36 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/0.763, allocations: 107.3 kB / 0.8421 GB, free: 10.25 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002671/0.7657, allocations: 1.279 MB / 0.8434 GB, free: 8.961 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.7657, allocations: 15.94 kB / 0.8434 GB, free: 8.945 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.7657, allocations: 0 / 0.8434 GB, free: 8.945 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.7657, allocations: 3.984 kB / 0.8434 GB, free: 8.941 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003733/0.7695, allocations: 2.497 MB / 0.8458 GB, free: 6.379 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.7695, allocations: 0 / 0.8458 GB, free: 6.379 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006965/0.7702, allocations: 175.8 kB / 0.846 GB, free: 6.207 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004148/0.7706, allocations: 76.78 kB / 0.8461 GB, free: 6.129 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.983e-05/0.7707, allocations: 31.98 kB / 0.8461 GB, free: 6.098 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/0.7725, allocations: 1.67 MB / 0.8477 GB, free: 4.281 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.7725, allocations: 0 / 0.8477 GB, free: 4.281 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/0.7746, allocations: 1.123 MB / 0.8488 GB, free: 3.145 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004025/0.775, allocations: 324 kB / 0.8491 GB, free: 2.809 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.7751, allocations: 23.94 kB / 0.8491 GB, free: 2.785 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006711/0.7758, allocations: 63.94 kB / 0.8492 GB, free: 2.723 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.776, allocations: 68.91 kB / 0.8493 GB, free: 2.652 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.385e-05/0.776, allocations: 43.97 kB / 0.8493 GB, free: 2.609 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007022/0.7767, allocations: 0.5576 MB / 0.8499 GB, free: 2.059 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7768, allocations: 0 / 0.8499 GB, free: 2.059 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009945/0.7778, allocations: 418.5 kB / 0.8503 GB, free: 1.648 MB / 0.67 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * 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.001328/0.7791, allocations: 0.5846 MB / 0.8508 GB, free: 1.266 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001897/0.781, allocations: 0.9639 MB / 0.8518 GB, free: 296 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.781, allocations: 4.25 kB / 0.8518 GB, free: 292 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009707/0.782, allocations: 0.586 MB / 0.8523 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.7833, allocations: 317.5 kB / 0.8526 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004553/0.7879, allocations: 2.353 MB / 0.8549 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007157/0.7886, allocations: 1.164 MB / 0.8561 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009056/0.7895, allocations: 295.8 kB / 0.8564 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003004/0.7898, allocations: 127.4 kB / 0.8565 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of SimCode: time 6.71e-07/0.7898, allocations: 0 / 0.8565 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of Templates: time 0.3734/1.163, allocations: 17.41 MB / 0.8735 GB, free: 190.8 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)