Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001235/0.001235, allocations: 106.2 kB / 16.36 MB, free: 6.34 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.00128/0.00128, allocations: 198.2 kB / 17.3 MB, free: 5.879 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.345/1.345, 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.8085/0.8085, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 71.88 kB / 0.5067 GB, free: 7.637 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3522, allocations: 80.9 MB / 0.5857 GB, free: 25.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005703/0.3579, allocations: 4.927 MB / 0.5906 GB, free: 21.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.153/0.511, allocations: 150.8 MB / 0.7378 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.5122, allocations: 19.94 kB / 0.7378 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006212/0.5129, allocations: 194.1 kB / 0.738 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001606/0.5145, allocations: 0.5552 MB / 0.7386 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001923/0.5164, allocations: 0.9291 MB / 0.7395 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00141/0.5179, allocations: 1.557 MB / 0.741 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.5192, allocations: 1.158 MB / 0.7421 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007356/0.5199, allocations: 0.6811 MB / 0.7428 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006789/0.5206, allocations: 0.7297 MB / 0.7435 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001994/0.5208, allocations: 192 kB / 0.7437 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008886/0.5217, allocations: 0.5542 MB / 0.7442 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003384/0.5221, allocations: 438.6 kB / 0.7446 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005897/0.5227, allocations: 0.8123 MB / 0.7454 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001954/0.5246, allocations: 2.305 MB / 0.7477 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5246, allocations: 0 / 0.7477 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5246, allocations: 0 / 0.7477 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.805e-05/0.5247, allocations: 0 / 0.7477 GB, free: 4.109 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002712/0.5274, allocations: 1.818 MB / 0.7495 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.5274, allocations: 17.11 kB / 0.7495 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009345/0.5284, allocations: 238.8 kB / 0.7497 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.5297, allocations: 0.9189 MB / 0.7506 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.5299, allocations: 132.7 kB / 0.7507 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.5301, allocations: 144 kB / 0.7509 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3307/0.8608, allocations: 1.47 MB / 0.7523 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.801e-05/0.8609, allocations: 0.75 kB / 0.7523 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/0.8611, allocations: 61.91 kB / 0.7524 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.646e-05/0.8611, allocations: 37.06 kB / 0.7524 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003066/0.8642, allocations: 1.494 MB / 0.7539 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007312/0.8715, allocations: 3.866 MB / 0.7576 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.8734, allocations: 0.9089 MB / 0.7585 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007185/0.8741, allocations: 370.2 kB / 0.7589 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.8743, allocations: 38.92 kB / 0.7589 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001182/0.8754, allocations: 0.5474 MB / 0.7594 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=93): time 3.807e-06/0.8755, allocations: 3.234 kB / 0.7595 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93): time 0.003801/0.8793, allocations: 1.376 MB / 0.7608 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/0.8794, allocations: 194.6 kB / 0.761 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.8804, allocations: 0.771 MB / 0.7617 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.163e-05/0.8805, allocations: 43.36 kB / 0.7618 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003675/0.8808, allocations: 0.5733 MB / 0.7623 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.8811, allocations: 313.6 kB / 0.7626 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002687/0.8813, allocations: 191.5 kB / 0.7628 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.24e-05/0.8814, allocations: 344.5 kB / 0.7631 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000571/0.882, allocations: 330.7 kB / 0.7635 GB, free: 158 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006932/0.8827, allocations: 429.3 kB / 0.7639 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.884, allocations: 0.7738 MB / 0.7646 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.884, allocations: 0 / 0.7646 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001935/0.8859, allocations: 1.021 MB / 0.7656 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.886, allocations: 7.062 kB / 0.7656 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.886, allocations: 1.656 kB / 0.7656 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005721/0.8865, allocations: 83.34 kB / 0.7657 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007723/0.8873, allocations: 200.4 kB / 0.7659 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/0.8889, allocations: 1.641 MB / 0.7675 GB, free: 155 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007329/0.8897, allocations: 112.1 kB / 0.7676 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.31e-05/0.8898, allocations: 47.95 kB / 0.7677 GB, free: 154.8 MB / 0.5762 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.0005028/0.8903, allocations: 315.5 kB / 0.768 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.8904, allocations: 101.9 kB / 0.7681 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002395/0.8928, allocations: 1.282 MB / 0.7693 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.8928, allocations: 12 kB / 0.7693 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.8929, allocations: 0 / 0.7693 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.8929, allocations: 3.984 kB / 0.7693 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003207/0.8961, allocations: 2.507 MB / 0.7718 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.8961, allocations: 0.6875 kB / 0.7718 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006405/0.8967, allocations: 179.7 kB / 0.7719 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003946/0.8971, allocations: 75.81 kB / 0.772 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.653e-05/0.8972, allocations: 25.14 kB / 0.772 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001472/0.8987, allocations: 1.673 MB / 0.7737 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8987, allocations: 0.5 kB / 0.7737 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/0.9005, allocations: 1.116 MB / 0.7748 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003958/0.9009, allocations: 315.4 kB / 0.7751 GB, free: 147 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.9011, allocations: 34.25 kB / 0.7751 GB, free: 147 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006356/0.9017, allocations: 59.94 kB / 0.7752 GB, free: 146.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.9018, allocations: 74.27 kB / 0.7752 GB, free: 146.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.232e-05/0.9019, allocations: 35.98 kB / 0.7753 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005976/0.9025, allocations: 0.5615 MB / 0.7758 GB, free: 146.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9025, allocations: 2.75 kB / 0.7758 GB, free: 146.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009598/0.9035, allocations: 396.1 kB / 0.7762 GB, free: 145.9 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.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.001253/0.9048, allocations: 0.6048 MB / 0.7768 GB, free: 145.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001595/0.9064, allocations: 0.9694 MB / 0.7777 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.9064, allocations: 0 / 0.7777 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008034/0.9072, allocations: 0.5849 MB / 0.7783 GB, free: 144 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.9083, allocations: 322.2 kB / 0.7786 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003831/0.9121, allocations: 2.302 MB / 0.7808 GB, free: 141.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.9126, allocations: 1.165 MB / 0.782 GB, free: 140.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007517/0.9134, allocations: 288.4 kB / 0.7823 GB, free: 139.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002684/0.9136, allocations: 127.4 kB / 0.7824 GB, free: 139.8 MB / 0.5762 GB Notification: Performance of SimCode: time 7.12e-07/0.9136, allocations: 0 / 0.7824 GB, free: 139.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.02218/0.9358, allocations: 17.21 MB / 0.7992 GB, free: 122.7 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)