Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002081/0.002081, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002841/0.002842, allocations: 194.5 kB / 16.14 MB, free: 6.652 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.437/1.437, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.022/1.022, allocations: 135.1 MB / 425.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 64.67 kB / 0.5047 GB, free: 5.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1976, allocations: 80.93 MB / 0.5837 GB, free: 4.969 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006576/0.2042, allocations: 4.499 MB / 0.5881 GB, free: 456 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5081/0.7124, allocations: 148.3 MB / 0.7329 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007951/0.7133, allocations: 20.22 kB / 0.7329 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006215/0.7139, allocations: 148 kB / 0.7331 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.7155, allocations: 423.5 kB / 0.7335 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002146/0.7176, allocations: 0.7088 MB / 0.7342 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001758/0.7194, allocations: 1.225 MB / 0.7354 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.7207, allocations: 0.8876 MB / 0.7362 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008248/0.7215, allocations: 483.8 kB / 0.7367 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006471/0.7221, allocations: 0.5361 MB / 0.7372 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001633/0.7223, allocations: 86.69 kB / 0.7373 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.7234, allocations: 420.3 kB / 0.7377 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002877/0.7237, allocations: 296.3 kB / 0.738 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005281/0.7242, allocations: 0.586 MB / 0.7386 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001815/0.726, allocations: 1.736 MB / 0.7403 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.726, allocations: 1.625 kB / 0.7403 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.726, allocations: 0 / 0.7403 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.234e-05/0.7261, allocations: 4.656 kB / 0.7403 GB, free: 9.691 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002934/0.729, allocations: 1.593 MB / 0.7418 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.7291, allocations: 9.625 kB / 0.7418 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.7302, allocations: 208.3 kB / 0.742 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.7315, allocations: 0.8076 MB / 0.7428 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-05/0.7315, allocations: 87.78 kB / 0.7429 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.7317, allocations: 110.2 kB / 0.743 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/0.7339, allocations: 1.138 MB / 0.7441 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.7339, allocations: 0 / 0.7441 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.734, allocations: 49.69 kB / 0.7442 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.765e-05/0.7341, allocations: 28.34 kB / 0.7442 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/0.736, allocations: 1.232 MB / 0.7454 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005135/0.7411, allocations: 3.027 MB / 0.7483 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.7426, allocations: 0.7699 MB / 0.7491 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005347/0.7432, allocations: 290.8 kB / 0.7494 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.7433, allocations: 40.61 kB / 0.7494 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009639/0.7443, allocations: 447.3 kB / 0.7498 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 3.096e-06/0.7443, allocations: 4 kB / 0.7498 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.003251/0.7475, allocations: 1.135 MB / 0.751 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.7477, allocations: 192.6 kB / 0.7511 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.7487, allocations: 0.6882 MB / 0.7518 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.383e-05/0.7488, allocations: 41.7 kB / 0.7518 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000398/0.7492, allocations: 0.4918 MB / 0.7523 GB, free: 44 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.7494, allocations: 261.5 kB / 0.7526 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002364/0.7497, allocations: 166.4 kB / 0.7527 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002213/0.7499, allocations: 386.8 kB / 0.7531 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004932/0.7504, allocations: 261.8 kB / 0.7534 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000571/0.751, allocations: 351.1 kB / 0.7537 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.7521, allocations: 0.5994 MB / 0.7543 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.7521, allocations: 0 / 0.7543 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001987/0.7541, allocations: 0.8409 MB / 0.7551 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.7541, allocations: 6.031 kB / 0.7551 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.7541, allocations: 0 / 0.7551 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006636/0.7548, allocations: 87.58 kB / 0.7552 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000712/0.7555, allocations: 155.8 kB / 0.7553 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/0.7578, allocations: 1.525 MB / 0.7568 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007196/0.7585, allocations: 91.2 kB / 0.7569 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-05/0.7586, allocations: 35.98 kB / 0.7569 GB, free: 11.13 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 (92): * Single equations (assignments): 91 * 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.0004844/0.7591, allocations: 281.7 kB / 0.7572 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.7592, allocations: 86.88 kB / 0.7573 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002262/0.7615, allocations: 1.029 MB / 0.7583 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.7615, allocations: 12 kB / 0.7583 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.7615, allocations: 0 / 0.7583 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/0.7615, allocations: 8.062 kB / 0.7583 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.7627, allocations: 0.9815 MB / 0.7593 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.7627, allocations: 0 / 0.7593 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006014/0.7633, allocations: 151.7 kB / 0.7594 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005214/0.7638, allocations: 84.77 kB / 0.7595 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.274e-05/0.7639, allocations: 23.98 kB / 0.7595 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.7658, allocations: 1.546 MB / 0.761 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.7658, allocations: 0 / 0.761 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/0.7677, allocations: 0.8848 MB / 0.7619 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003709/0.7681, allocations: 271.6 kB / 0.7622 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.7682, allocations: 16 kB / 0.7622 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005692/0.7688, allocations: 59.88 kB / 0.7622 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.7689, allocations: 64.91 kB / 0.7623 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-05/0.769, allocations: 31.73 kB / 0.7623 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006967/0.7697, allocations: 499 kB / 0.7628 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7697, allocations: 0 / 0.7628 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009929/0.7707, allocations: 338.9 kB / 0.7631 GB, free: 4.555 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 (89): * Single equations (assignments): 86 * 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.001431/0.7722, allocations: 0.5948 MB / 0.7637 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001763/0.7739, allocations: 0.7953 MB / 0.7645 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.7739, allocations: 0 / 0.7645 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008816/0.7748, allocations: 0.5048 MB / 0.765 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.7761, allocations: 276.9 kB / 0.7652 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004542/0.7806, allocations: 2.493 MB / 0.7677 GB, free: 84 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007097/0.7814, allocations: 1.088 MB / 0.7687 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009237/0.7823, allocations: 262.8 kB / 0.769 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002628/0.7826, allocations: 99.39 kB / 0.7691 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of SimCode: time 1.142e-06/0.7826, allocations: 0 / 0.7691 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of Templates: time 0.02681/0.8094, allocations: 13.94 MB / 0.7827 GB, free: 0.8164 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)