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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001708/0.001709, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7483/0.7483, allocations: 133.4 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 404.7 MB, free: 6.113 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 107.4 kB / 485.9 MB, free: 7.242 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009823/0.0009823, allocations: 59.91 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1354, allocations: 80.43 MB / 0.6421 GB, free: 5.445 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006591/0.1421, allocations: 4.92 MB / 0.6469 GB, free: 0.5 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4416/0.5837, allocations: 148.5 MB / 0.7919 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006992/0.5844, allocations: 19.94 kB / 0.7919 GB, free: 7.738 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005414/0.585, allocations: 148.8 kB / 0.7921 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.5865, allocations: 486.8 kB / 0.7925 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.5883, allocations: 0.8171 MB / 0.7933 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001313/0.5896, allocations: 1.452 MB / 0.7948 GB, free: 4.887 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001274/0.5909, allocations: 1.115 MB / 0.7958 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007924/0.5917, allocations: 0.6068 MB / 0.7964 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007266/0.5924, allocations: 0.6842 MB / 0.7971 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002073/0.5926, allocations: 104 kB / 0.7972 GB, free: 2.34 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009548/0.5936, allocations: 443.7 kB / 0.7976 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002958/0.5939, allocations: 354.6 kB / 0.798 GB, free: 1.559 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0005921/0.5945, allocations: 0.738 MB / 0.7987 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001924/0.5964, allocations: 2.181 MB / 0.8008 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5965, allocations: 0 / 0.8008 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of FrontEnd: time 8.61e-07/0.5965, allocations: 7 kB / 0.8008 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.5965, allocations: 0 / 0.8008 GB, free: 14.62 MB / 0.5417 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.002841/0.5993, allocations: 1.818 MB / 0.8026 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.5994, allocations: 8.031 kB / 0.8026 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009143/0.6003, allocations: 238.8 kB / 0.8028 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.6015, allocations: 0.9036 MB / 0.8037 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.6016, allocations: 136.7 kB / 0.8038 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.6018, allocations: 144 kB / 0.804 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.604, allocations: 1.465 MB / 0.8054 GB, free: 9.758 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.604, allocations: 4 kB / 0.8054 GB, free: 9.754 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.6041, allocations: 63.98 kB / 0.8055 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/0.6042, allocations: 36 kB / 0.8055 GB, free: 9.656 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/0.6065, allocations: 1.494 MB / 0.807 GB, free: 8.156 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005555/0.612, allocations: 3.948 MB / 0.8108 GB, free: 4.133 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.6135, allocations: 0.9102 MB / 0.8117 GB, free: 3.223 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005738/0.6141, allocations: 363.7 kB / 0.8121 GB, free: 2.867 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.954e-05/0.6142, allocations: 45.08 kB / 0.8121 GB, free: 2.824 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009487/0.6152, allocations: 0.5475 MB / 0.8126 GB, free: 2.254 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=93): time 2.475e-06/0.6152, allocations: 0 / 0.8126 GB, free: 2.254 MB / 0.5417 GB Notification: Performance of matching and sorting (n=93): time 0.003252/0.6184, allocations: 1.368 MB / 0.814 GB, free: 0.8633 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.397e-05/0.6185, allocations: 196.9 kB / 0.8142 GB, free: 0.625 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008887/0.6194, allocations: 0.7668 MB / 0.8149 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.888e-05/0.6195, allocations: 41.7 kB / 0.815 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004731/0.62, allocations: 0.5735 MB / 0.8155 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000254/0.6203, allocations: 311.5 kB / 0.8158 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002962/0.6206, allocations: 194.5 kB / 0.816 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.6208, allocations: 341.9 kB / 0.8163 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006284/0.6214, allocations: 329.6 kB / 0.8166 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007317/0.6221, allocations: 439.9 kB / 0.8171 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.6235, allocations: 0.7702 MB / 0.8178 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.6235, allocations: 0 / 0.8178 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00225/0.6258, allocations: 1.02 MB / 0.8188 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.6258, allocations: 5.719 kB / 0.8188 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.6258, allocations: 4 kB / 0.8188 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005999/0.6264, allocations: 88.77 kB / 0.8189 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008173/0.6272, allocations: 201.2 kB / 0.8191 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/0.6293, allocations: 1.532 MB / 0.8206 GB, free: 9.828 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007349/0.63, allocations: 102.1 kB / 0.8207 GB, free: 9.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-05/0.6301, allocations: 43.95 kB / 0.8207 GB, free: 9.688 MB / 0.5573 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.0005161/0.6306, allocations: 327.2 kB / 0.821 GB, free: 9.359 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.6308, allocations: 98.72 kB / 0.8211 GB, free: 9.262 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002853/0.6337, allocations: 1.29 MB / 0.8224 GB, free: 7.953 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.6337, allocations: 8 kB / 0.8224 GB, free: 7.945 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.6337, allocations: 0 / 0.8224 GB, free: 7.945 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.6337, allocations: 7.984 kB / 0.8224 GB, free: 7.938 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003986/0.6377, allocations: 2.497 MB / 0.8248 GB, free: 5.379 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.6377, allocations: 0 / 0.8248 GB, free: 5.379 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007239/0.6385, allocations: 183.7 kB / 0.825 GB, free: 5.199 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005143/0.639, allocations: 88.75 kB / 0.8251 GB, free: 5.109 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/0.6391, allocations: 27.98 kB / 0.8251 GB, free: 5.082 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/0.6409, allocations: 1.559 MB / 0.8267 GB, free: 3.383 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6409, allocations: 0 / 0.8267 GB, free: 3.383 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003328/0.6442, allocations: 2.275 MB / 0.8289 GB, free: 1.047 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004528/0.6447, allocations: 315.5 kB / 0.8292 GB, free: 0.7188 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.6448, allocations: 23.94 kB / 0.8292 GB, free: 0.6953 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006865/0.6455, allocations: 59.94 kB / 0.8293 GB, free: 0.6367 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.6457, allocations: 72.89 kB / 0.8293 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.812e-05/0.6458, allocations: 35.98 kB / 0.8294 GB, free: 0.5312 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006966/0.6465, allocations: 0.5576 MB / 0.8299 GB, free: 15.97 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6465, allocations: 4 kB / 0.8299 GB, free: 15.97 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001057/0.6475, allocations: 406.5 kB / 0.8303 GB, free: 15.57 MB / 0.573 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.00127/0.6488, allocations: 0.6115 MB / 0.8309 GB, free: 15.14 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001813/0.6506, allocations: 0.9602 MB / 0.8318 GB, free: 14.17 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.6507, allocations: 3.938 kB / 0.8318 GB, free: 14.17 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009812/0.6516, allocations: 0.5744 MB / 0.8324 GB, free: 13.59 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.6529, allocations: 283.3 kB / 0.8327 GB, free: 13.31 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005266/0.6582, allocations: 3.527 MB / 0.8361 GB, free: 9.742 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007308/0.659, allocations: 1.203 MB / 0.8373 GB, free: 8.512 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009338/0.6599, allocations: 291.8 kB / 0.8376 GB, free: 8.223 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/0.6602, allocations: 127.4 kB / 0.8377 GB, free: 8.098 MB / 0.573 GB Notification: Performance of SimCode: time 3.51e-07/0.6602, allocations: 4 kB / 0.8377 GB, free: 8.094 MB / 0.573 GB Notification: Performance of Templates: time 0.02714/0.6874, allocations: 17.02 MB / 0.8543 GB, free: 7.199 MB / 0.5886 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 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)