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.001063/0.001063, allocations: 104.8 kB / 16.35 MB, free: 6.336 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.001063/0.001063, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8082/0.8082, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 59.91 kB / 0.5067 GB, free: 7.684 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3544, allocations: 80.92 MB / 0.5858 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005043/0.3594, allocations: 4.494 MB / 0.5901 GB, free: 22.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1557/0.5152, allocations: 150.6 MB / 0.7372 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008671/0.5161, allocations: 19.88 kB / 0.7373 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006188/0.5167, allocations: 178.3 kB / 0.7374 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00161/0.5184, allocations: 0.4892 MB / 0.7379 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.5203, allocations: 0.8294 MB / 0.7387 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001339/0.5217, allocations: 1.316 MB / 0.74 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001157/0.5228, allocations: 0.9173 MB / 0.7409 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007503/0.5236, allocations: 0.5331 MB / 0.7414 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006146/0.5242, allocations: 0.5793 MB / 0.742 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001667/0.5244, allocations: 140 kB / 0.7421 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009927/0.5254, allocations: 0.5035 MB / 0.7426 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003186/0.5257, allocations: 342.9 kB / 0.7429 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000604/0.5263, allocations: 0.6488 MB / 0.7436 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002385/0.5287, allocations: 1.838 MB / 0.7454 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.5288, allocations: 0 / 0.7454 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5288, allocations: 0 / 0.7454 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.702e-05/0.5288, allocations: 0 / 0.7454 GB, free: 6.547 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002717/0.5315, allocations: 1.584 MB / 0.7469 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.5316, allocations: 13.11 kB / 0.7469 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.5326, allocations: 207.1 kB / 0.7471 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.534, allocations: 0.8249 MB / 0.7479 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.092e-05/0.5341, allocations: 86.3 kB / 0.748 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.5343, allocations: 116 kB / 0.7481 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002056/0.5363, allocations: 1.141 MB / 0.7492 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.5364, allocations: 0 / 0.7492 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-05/0.5365, allocations: 48 kB / 0.7493 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.815e-05/0.5365, allocations: 28 kB / 0.7493 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.5386, allocations: 1.238 MB / 0.7505 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3483/0.887, allocations: 2.969 MB / 0.7534 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.8883, allocations: 0.7716 MB / 0.7542 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004648/0.8888, allocations: 291.9 kB / 0.7544 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.524e-05/0.8889, allocations: 28.8 kB / 0.7545 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007958/0.8897, allocations: 446.4 kB / 0.7549 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 2.435e-06/0.8897, allocations: 1.375 kB / 0.7549 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78): time 0.002997/0.8927, allocations: 1.145 MB / 0.756 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.8928, allocations: 189.5 kB / 0.7562 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009473/0.8937, allocations: 0.6964 MB / 0.7569 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.66e-05/0.8938, allocations: 38.73 kB / 0.7569 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003/0.8941, allocations: 0.4914 MB / 0.7574 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.8942, allocations: 265.8 kB / 0.7576 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/0.8945, allocations: 159.4 kB / 0.7578 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.8946, allocations: 391 kB / 0.7582 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004941/0.8951, allocations: 265.7 kB / 0.7584 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006384/0.8957, allocations: 349.2 kB / 0.7588 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.8969, allocations: 0.6035 MB / 0.7593 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.8969, allocations: 0.5 kB / 0.7593 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001994/0.8989, allocations: 0.8447 MB / 0.7602 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.899, allocations: 7.938 kB / 0.7602 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.899, allocations: 4.094 kB / 0.7602 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005719/0.8996, allocations: 83.25 kB / 0.7603 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006218/0.9002, allocations: 161.6 kB / 0.7604 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/0.9021, allocations: 1.627 MB / 0.762 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006006/0.9027, allocations: 87.02 kB / 0.7621 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.899e-05/0.9028, allocations: 36.95 kB / 0.7621 GB, free: 159.1 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.0003701/0.9032, allocations: 284.8 kB / 0.7624 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.9033, allocations: 89.16 kB / 0.7625 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/0.9054, allocations: 1.018 MB / 0.7635 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.9054, allocations: 11.94 kB / 0.7635 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.9054, allocations: 3.938 kB / 0.7635 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.9054, allocations: 3.984 kB / 0.7635 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.9066, allocations: 0.9851 MB / 0.7645 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.9066, allocations: 2.984 kB / 0.7645 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005412/0.9071, allocations: 151 kB / 0.7646 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004134/0.9076, allocations: 75.34 kB / 0.7647 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-05/0.9076, allocations: 27.67 kB / 0.7647 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00143/0.9091, allocations: 1.658 MB / 0.7663 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9091, allocations: 0 / 0.7663 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.9106, allocations: 0.8848 MB / 0.7672 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/0.9109, allocations: 266.6 kB / 0.7674 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-05/0.911, allocations: 16.53 kB / 0.7675 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004879/0.9115, allocations: 57.08 kB / 0.7675 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.9117, allocations: 61.78 kB / 0.7676 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.764e-05/0.9117, allocations: 32.33 kB / 0.7676 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004627/0.9122, allocations: 0.491 MB / 0.7681 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9122, allocations: 0.9844 kB / 0.7681 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007194/0.9129, allocations: 340.7 kB / 0.7684 GB, free: 154.4 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.001217/0.9141, allocations: 0.6031 MB / 0.769 GB, free: 154 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001331/0.9155, allocations: 0.8025 MB / 0.7698 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.9155, allocations: 0 / 0.7698 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007048/0.9162, allocations: 0.4998 MB / 0.7703 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009929/0.9172, allocations: 303.6 kB / 0.7706 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003286/0.9205, allocations: 1.953 MB / 0.7725 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.9209, allocations: 1.08 MB / 0.7735 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006525/0.9216, allocations: 282.3 kB / 0.7738 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/0.9218, allocations: 103.4 kB / 0.7739 GB, free: 149 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.9218, allocations: 0 / 0.7739 GB, free: 149 MB / 0.5762 GB Notification: Performance of Templates: time 0.01933/0.9411, allocations: 14.51 MB / 0.788 GB, free: 134.7 MB / 0.5762 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)