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/Complex 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) 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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 183.4 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/package.mo): time 0.7032/0.7032, allocations: 132.2 MB / 148.9 MB, free: 12.16 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.399/1.399, allocations: 222.9 MB / 403.3 MB, free: 7.125 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.001003/0.001003, allocations: 105.9 kB / 484.4 MB, free: 8.746 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001016, allocations: 56.11 kB / 0.5618 GB, free: 71.1 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1563, allocations: 80.2 MB / 0.6402 GB, free: 6.832 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006384/0.1627, allocations: 4.919 MB / 0.645 GB, free: 1.883 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4573/0.62, allocations: 148.5 MB / 0.79 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008845/0.6209, allocations: 15.94 kB / 0.79 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0006224/0.6216, allocations: 149.3 kB / 0.7901 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.6233, allocations: 488.1 kB / 0.7906 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.6256, allocations: 0.8135 MB / 0.7914 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001511/0.6271, allocations: 1.46 MB / 0.7928 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/0.6285, allocations: 1.111 MB / 0.7939 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007361/0.6293, allocations: 0.6029 MB / 0.7945 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007469/0.63, allocations: 0.6851 MB / 0.7951 GB, free: 4.461 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001879/0.6302, allocations: 104 kB / 0.7952 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009755/0.6312, allocations: 451.6 kB / 0.7957 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003236/0.6315, allocations: 350.7 kB / 0.796 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0006695/0.6322, allocations: 0.738 MB / 0.7967 GB, free: 2.832 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002204/0.6344, allocations: 2.177 MB / 0.7989 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.6344, allocations: 0 / 0.7989 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6344, allocations: 4 kB / 0.7989 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.564e-05/0.6345, allocations: 0 / 0.7989 GB, free: 0.6445 MB / 0.5261 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.003042/0.6375, allocations: 1.814 MB / 0.8006 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.6376, allocations: 8.031 kB / 0.8006 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009548/0.6385, allocations: 246.7 kB / 0.8009 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.6398, allocations: 0.9114 MB / 0.8018 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.6399, allocations: 132.7 kB / 0.8019 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/0.6401, allocations: 144 kB / 0.802 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002287/0.6424, allocations: 1.465 MB / 0.8035 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/0.6424, allocations: 3.938 kB / 0.8035 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.6426, allocations: 60 kB / 0.8035 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.764e-05/0.6426, allocations: 36 kB / 0.8036 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/0.6449, allocations: 1.494 MB / 0.805 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005848/0.6508, allocations: 3.944 MB / 0.8089 GB, free: 6.156 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.6523, allocations: 0.9091 MB / 0.8098 GB, free: 5.242 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006143/0.6529, allocations: 368.7 kB / 0.8101 GB, free: 4.879 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-05/0.653, allocations: 45.08 kB / 0.8101 GB, free: 4.836 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009408/0.654, allocations: 0.5437 MB / 0.8107 GB, free: 4.277 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=93): time 3.276e-06/0.654, allocations: 0 / 0.8107 GB, free: 4.277 MB / 0.5417 GB Notification: Performance of matching and sorting (n=93): time 0.003333/0.6573, allocations: 1.376 MB / 0.812 GB, free: 2.871 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.6575, allocations: 188.9 kB / 0.8122 GB, free: 2.645 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009767/0.6584, allocations: 0.7628 MB / 0.8129 GB, free: 1.871 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.614e-05/0.6585, allocations: 49.27 kB / 0.813 GB, free: 1.82 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004398/0.659, allocations: 0.5736 MB / 0.8136 GB, free: 1.238 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/0.6592, allocations: 311.5 kB / 0.8138 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003014/0.6595, allocations: 190.5 kB / 0.814 GB, free: 0.7383 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.6597, allocations: 345.9 kB / 0.8144 GB, free: 404 kB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006033/0.6603, allocations: 325.8 kB / 0.8147 GB, free: 76 kB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007938/0.6611, allocations: 439.9 kB / 0.8151 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.6625, allocations: 0.7657 MB / 0.8158 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.6625, allocations: 0 / 0.8158 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002431/0.6649, allocations: 1.02 MB / 0.8168 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/0.665, allocations: 8 kB / 0.8168 GB, free: 13.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.665, allocations: 0 / 0.8168 GB, free: 13.81 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006033/0.6656, allocations: 88.77 kB / 0.8169 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007921/0.6664, allocations: 199.7 kB / 0.8171 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/0.6683, allocations: 1.538 MB / 0.8186 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007399/0.6691, allocations: 104.6 kB / 0.8187 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.849e-05/0.6692, allocations: 43.95 kB / 0.8188 GB, free: 11.7 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.0005481/0.6697, allocations: 322.6 kB / 0.8191 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/0.6699, allocations: 102.7 kB / 0.8192 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002814/0.6728, allocations: 1.289 MB / 0.8204 GB, free: 9.973 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.6728, allocations: 12 kB / 0.8204 GB, free: 9.961 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.6728, allocations: 0 / 0.8204 GB, free: 9.961 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.6728, allocations: 3.984 kB / 0.8204 GB, free: 9.957 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004057/0.6769, allocations: 2.497 MB / 0.8229 GB, free: 7.398 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.6769, allocations: 4 kB / 0.8229 GB, free: 7.395 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007054/0.6776, allocations: 175.8 kB / 0.8231 GB, free: 7.223 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005325/0.6781, allocations: 84.77 kB / 0.8231 GB, free: 7.137 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-05/0.6782, allocations: 23.98 kB / 0.8232 GB, free: 7.113 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/0.6801, allocations: 1.563 MB / 0.8247 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6801, allocations: 0 / 0.8247 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003339/0.6834, allocations: 2.271 MB / 0.8269 GB, free: 3.082 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004737/0.6839, allocations: 319.5 kB / 0.8272 GB, free: 2.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.684, allocations: 29.34 kB / 0.8272 GB, free: 2.723 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006646/0.6847, allocations: 55.94 kB / 0.8273 GB, free: 2.668 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.6849, allocations: 72.89 kB / 0.8274 GB, free: 2.598 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-05/0.685, allocations: 35.98 kB / 0.8274 GB, free: 2.562 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007373/0.6857, allocations: 0.5615 MB / 0.8279 GB, free: 2.004 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.3e-07/0.6857, allocations: 8 kB / 0.8279 GB, free: 1.996 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001139/0.6869, allocations: 398.5 kB / 0.8283 GB, free: 1.605 MB / 0.5573 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.001418/0.6883, allocations: 0.6055 MB / 0.8289 GB, free: 1.18 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00199/0.6903, allocations: 0.9641 MB / 0.8299 GB, free: 204 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.6903, allocations: 7.875 kB / 0.8299 GB, free: 196 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.6913, allocations: 0.5783 MB / 0.8304 GB, free: 15.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.6926, allocations: 284.7 kB / 0.8307 GB, free: 15.33 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005591/0.6982, allocations: 3.524 MB / 0.8341 GB, free: 11.77 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007847/0.6991, allocations: 1.199 MB / 0.8353 GB, free: 10.54 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000972/0.7, allocations: 287.9 kB / 0.8356 GB, free: 10.26 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003169/0.7004, allocations: 127.3 kB / 0.8357 GB, free: 10.13 MB / 0.573 GB Notification: Performance of SimCode: time 8.62e-07/0.7004, allocations: 4 kB / 0.8357 GB, free: 10.13 MB / 0.573 GB Notification: Performance of Templates: time 0.02838/0.7288, allocations: 17.02 MB / 0.8523 GB, free: 9.223 MB / 0.5886 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)