Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 182.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/package.mo): time 0.7497/0.7497, allocations: 132.2 MB / 148.9 MB, free: 12.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.465/1.465, allocations: 222.9 MB / 403.4 MB, free: 7.086 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.001134/0.001134, allocations: 119 kB / 484.4 MB, free: 8.699 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009619/0.000962, allocations: 59.91 kB / 0.5619 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1503, allocations: 80.2 MB / 0.6402 GB, free: 6.777 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005618/0.1559, allocations: 4.135 MB / 0.6442 GB, free: 2.617 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4196/0.5756, allocations: 148.1 MB / 0.7889 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006232/0.5763, allocations: 11.94 kB / 0.7889 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004634/0.5767, allocations: 138 kB / 0.789 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.578, allocations: 402.1 kB / 0.7894 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.5796, allocations: 0.6729 MB / 0.79 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0009433/0.5806, allocations: 1.098 MB / 0.7911 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007374/0.5813, allocations: 0.5895 MB / 0.7917 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004228/0.5817, allocations: 366.5 kB / 0.792 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004108/0.5822, allocations: 410.6 kB / 0.7924 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.5823, allocations: 59.94 kB / 0.7925 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007293/0.583, allocations: 388.2 kB / 0.7929 GB, free: 6.727 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002189/0.5832, allocations: 211.2 kB / 0.7931 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003752/0.5836, allocations: 445.3 kB / 0.7935 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.5849, allocations: 1.394 MB / 0.7948 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.5849, allocations: 4 kB / 0.7949 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5849, allocations: 0 / 0.7949 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.5849, allocations: 0 / 0.7949 GB, free: 4.68 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002037/0.587, allocations: 1.307 MB / 0.7961 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.587, allocations: 12.03 kB / 0.7961 GB, free: 3.309 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008807/0.5879, allocations: 171.5 kB / 0.7963 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009444/0.5889, allocations: 0.7037 MB / 0.797 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.574e-05/0.5889, allocations: 58 kB / 0.797 GB, free: 2.336 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.605e-05/0.589, allocations: 76 kB / 0.7971 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.5903, allocations: 0.852 MB / 0.798 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.5904, allocations: 7.938 kB / 0.798 GB, free: 1.363 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.446e-05/0.5905, allocations: 32 kB / 0.798 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.5905, allocations: 20 kB / 0.798 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.5921, allocations: 1.054 MB / 0.799 GB, free: 260 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003514/0.5956, allocations: 2.352 MB / 0.8013 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.5968, allocations: 0.6993 MB / 0.802 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004585/0.5973, allocations: 270.9 kB / 0.8023 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.626e-05/0.5974, allocations: 36.66 kB / 0.8023 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007028/0.5981, allocations: 432.5 kB / 0.8027 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=71): time 2.805e-06/0.5981, allocations: 0 / 0.8027 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71): time 0.002972/0.6011, allocations: 1.053 MB / 0.8038 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.671e-05/0.6012, allocations: 192.6 kB / 0.8039 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007612/0.602, allocations: 0.59 MB / 0.8045 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.938e-05/0.6021, allocations: 45.64 kB / 0.8046 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/0.6024, allocations: 376.2 kB / 0.8049 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.6026, allocations: 236.5 kB / 0.8051 GB, free: 9.828 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002448/0.6028, allocations: 154.5 kB / 0.8053 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.603, allocations: 374.8 kB / 0.8056 GB, free: 9.297 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004893/0.6035, allocations: 229.9 kB / 0.8059 GB, free: 9.074 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005815/0.6041, allocations: 326.8 kB / 0.8062 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.6051, allocations: 0.5472 MB / 0.8067 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6051, allocations: 0 / 0.8067 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001793/0.6069, allocations: 0.7588 MB / 0.8074 GB, free: 7.41 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.607, allocations: 8 kB / 0.8075 GB, free: 7.402 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.607, allocations: 3.938 kB / 0.8075 GB, free: 7.398 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006317/0.6076, allocations: 80.84 kB / 0.8075 GB, free: 7.316 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006192/0.6082, allocations: 143.8 kB / 0.8077 GB, free: 7.176 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002196/0.6104, allocations: 1.522 MB / 0.8092 GB, free: 5.516 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006185/0.6111, allocations: 76.52 kB / 0.8092 GB, free: 5.441 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.541e-05/0.6111, allocations: 27.98 kB / 0.8093 GB, free: 5.414 MB / 0.5417 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 (83): * Single equations (assignments): 82 * 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.0005014/0.6117, allocations: 256.4 kB / 0.8095 GB, free: 5.156 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.6118, allocations: 79.12 kB / 0.8096 GB, free: 5.078 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/0.6141, allocations: 0.9629 MB / 0.8105 GB, free: 4.098 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.6141, allocations: 12 kB / 0.8105 GB, free: 4.086 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.6141, allocations: 4 kB / 0.8105 GB, free: 4.082 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.6141, allocations: 7.984 kB / 0.8105 GB, free: 4.074 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009446/0.6151, allocations: 0.81 MB / 0.8113 GB, free: 3.215 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.6151, allocations: 3.938 kB / 0.8113 GB, free: 3.211 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005613/0.6157, allocations: 143.7 kB / 0.8115 GB, free: 3.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005256/0.6162, allocations: 80.77 kB / 0.8116 GB, free: 2.988 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-05/0.6162, allocations: 23.98 kB / 0.8116 GB, free: 2.965 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/0.6181, allocations: 1.54 MB / 0.8131 GB, free: 1.289 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.6181, allocations: 0 / 0.8131 GB, free: 1.289 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002864/0.621, allocations: 1.824 MB / 0.8149 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003931/0.6214, allocations: 255.7 kB / 0.8151 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.184e-05/0.6215, allocations: 12 kB / 0.8151 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005091/0.622, allocations: 55.94 kB / 0.8152 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.6221, allocations: 60.91 kB / 0.8152 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.245e-05/0.6222, allocations: 27.98 kB / 0.8153 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005267/0.6227, allocations: 427.1 kB / 0.8157 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9e-08/0.6228, allocations: 0 / 0.8157 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009684/0.6237, allocations: 287.3 kB / 0.8159 GB, free: 14.29 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.001427/0.6252, allocations: 0.599 MB / 0.8165 GB, free: 13.87 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001538/0.6267, allocations: 0.74 MB / 0.8172 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.6267, allocations: 8.062 kB / 0.8173 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000855/0.6276, allocations: 484.2 kB / 0.8177 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.6288, allocations: 264.1 kB / 0.818 GB, free: 12.37 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004222/0.633, allocations: 2.431 MB / 0.8203 GB, free: 9.906 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006025/0.6336, allocations: 1.007 MB / 0.8213 GB, free: 8.867 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008251/0.6344, allocations: 250 kB / 0.8216 GB, free: 8.621 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.6347, allocations: 99.39 kB / 0.8217 GB, free: 8.523 MB / 0.5573 GB Notification: Performance of SimCode: time 6.62e-07/0.6347, allocations: 0 / 0.8217 GB, free: 8.523 MB / 0.5573 GB Notification: Performance of Templates: time 0.02328/0.658, allocations: 13.38 MB / 0.8347 GB, free: 11.26 MB / 0.573 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)