Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 182.1 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.6873/0.6873, allocations: 132.2 MB / 149 MB, free: 12.15 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.388/1.388, allocations: 222.9 MB / 403.4 MB, free: 7.074 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.0009991/0.0009991, allocations: 103.7 kB / 484.3 MB, free: 8.703 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001004, allocations: 55.92 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1287, allocations: 80.21 MB / 0.6402 GB, free: 6.785 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007104/0.1358, allocations: 6.017 MB / 0.646 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4767/0.6126, allocations: 149.1 MB / 0.7917 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001527/0.6142, allocations: 27.88 kB / 0.7917 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.6153, allocations: 181.2 kB / 0.7919 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002934/0.6182, allocations: 0.5145 MB / 0.7924 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.004246/0.6225, allocations: 1.145 MB / 0.7935 GB, free: 6.09 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.004272/0.6268, allocations: 2.252 MB / 0.7957 GB, free: 3.832 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002927/0.6297, allocations: 1.532 MB / 0.7972 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001791/0.6315, allocations: 0.8949 MB / 0.798 GB, free: 1.348 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002113/0.6337, allocations: 1.09 MB / 0.7991 GB, free: 260 kB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0004445/0.6341, allocations: 148 kB / 0.7992 GB, free: 112 kB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.6358, allocations: 0.5113 MB / 0.7997 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0006211/0.6364, allocations: 0.4981 MB / 0.8002 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001355/0.6378, allocations: 1.025 MB / 0.8012 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.004817/0.6426, allocations: 3.092 MB / 0.8043 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.6427, allocations: 0 / 0.8043 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6427, allocations: 3.562 kB / 0.8043 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.459e-05/0.6428, allocations: 4 kB / 0.8043 GB, free: 10.96 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.008989/0.6518, allocations: 2.582 MB / 0.8068 GB, free: 8.316 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.6519, allocations: 12.03 kB / 0.8068 GB, free: 8.305 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02572/0.6776, allocations: 2.093 MB / 0.8088 GB, free: 6.211 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003671/0.6813, allocations: 1.197 MB / 0.81 GB, free: 4.965 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/0.6816, allocations: 164.4 kB / 0.8102 GB, free: 4.801 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008179/0.6824, allocations: 208 kB / 0.8104 GB, free: 4.598 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01378/0.6962, allocations: 3.154 MB / 0.8134 GB, free: 1.348 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.735e-05/0.6963, allocations: 7.922 kB / 0.8134 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003968/0.6967, allocations: 92 kB / 0.8135 GB, free: 1.25 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.078e-05/0.6968, allocations: 52 kB / 0.8136 GB, free: 1.199 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01999/0.7168, allocations: 4.103 MB / 0.8176 GB, free: 13.08 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02294/0.7398, allocations: 7.007 MB / 0.8244 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01357/0.7534, allocations: 2.689 MB / 0.8271 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007252/0.7607, allocations: 1.426 MB / 0.8285 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/0.7619, allocations: 0.4996 MB / 0.8289 GB, free: 1.262 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008248/0.7702, allocations: 1.696 MB / 0.8306 GB, free: 15.55 MB / 0.573 GB Notification: Performance of pre-optimization done (n=195): time 7.384e-06/0.7703, allocations: 3.938 kB / 0.8306 GB, free: 15.54 MB / 0.573 GB Notification: Performance of matching and sorting (n=195): time 0.02394/0.7942, allocations: 4.193 MB / 0.8347 GB, free: 11.32 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001555/0.7944, allocations: 201.9 kB / 0.8349 GB, free: 11.08 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002071/0.7965, allocations: 0.8618 MB / 0.8357 GB, free: 10.2 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005448/0.7971, allocations: 57.7 kB / 0.8358 GB, free: 10.13 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009036/0.798, allocations: 0.6996 MB / 0.8365 GB, free: 9.422 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0012/0.7992, allocations: 0.6313 MB / 0.8371 GB, free: 8.781 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001864/0.8011, allocations: 367.2 kB / 0.8374 GB, free: 8.418 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.8013, allocations: 309.1 kB / 0.8377 GB, free: 8.113 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006741/0.808, allocations: 1.187 MB / 0.8389 GB, free: 6.926 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007269/0.8153, allocations: 1.359 MB / 0.8402 GB, free: 5.543 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01241/0.8278, allocations: 2.489 MB / 0.8426 GB, free: 3.035 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/0.8278, allocations: 4 kB / 0.8427 GB, free: 3.031 MB / 0.573 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.01534/0.8432, allocations: 2.952 MB / 0.8455 GB, free: 68 kB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.689e-05/0.8433, allocations: 13 kB / 0.8455 GB, free: 56 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.8433, allocations: 0 / 0.8455 GB, free: 56 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008087/0.8441, allocations: 92.52 kB / 0.8456 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005366/0.8495, allocations: 0.5694 MB / 0.8462 GB, free: 15.39 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002765/0.8523, allocations: 1.527 MB / 0.8477 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004337/0.8567, allocations: 339.2 kB / 0.848 GB, free: 13.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006411/0.8573, allocations: 97.95 kB / 0.8481 GB, free: 13.31 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (215): * Single equations (assignments): 214 * 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.001823/0.8592, allocations: 406.2 kB / 0.8485 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008046/0.86, allocations: 138.3 kB / 0.8486 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01731/0.8773, allocations: 3.494 MB / 0.852 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3e-05/0.8774, allocations: 20 kB / 0.8521 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.8774, allocations: 0 / 0.8521 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-05/0.8774, allocations: 11.97 kB / 0.8521 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02099/0.8984, allocations: 5.749 MB / 0.8577 GB, free: 3.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.8985, allocations: 0 / 0.8577 GB, free: 3.41 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005143/0.9037, allocations: 0.5461 MB / 0.8582 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007351/0.9044, allocations: 88.77 kB / 0.8583 GB, free: 2.773 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004626/0.9049, allocations: 71.86 kB / 0.8584 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002512/0.9074, allocations: 1.548 MB / 0.8599 GB, free: 1.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.9075, allocations: 0 / 0.8599 GB, free: 1.02 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02258/0.9301, allocations: 5.4 MB / 0.8651 GB, free: 11.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/0.9319, allocations: 0.5024 MB / 0.8656 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007221/0.9326, allocations: 51.86 kB / 0.8657 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004178/0.9368, allocations: 239.7 kB / 0.8659 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005334/0.9374, allocations: 129.8 kB / 0.866 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004644/0.9379, allocations: 83.92 kB / 0.8661 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001637/0.9396, allocations: 0.6349 MB / 0.8667 GB, free: 9.898 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9396, allocations: 0 / 0.8667 GB, free: 9.898 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003057/0.9426, allocations: 0.6036 MB / 0.8673 GB, free: 9.293 MB / 0.6042 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 (210): * Single equations (assignments): 207 * 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.002425/0.9451, allocations: 0.6465 MB / 0.868 GB, free: 8.828 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01415/0.9593, allocations: 2.983 MB / 0.8709 GB, free: 5.828 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.9593, allocations: 0 / 0.8709 GB, free: 5.828 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00743/0.9668, allocations: 1.661 MB / 0.8725 GB, free: 4.156 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00288/0.9697, allocations: 319.2 kB / 0.8728 GB, free: 3.848 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/0.9831, allocations: 5.844 MB / 0.8785 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.9842, allocations: 1.425 MB / 0.8799 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.003615/0.9878, allocations: 0.5506 MB / 0.8804 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009614/0.9888, allocations: 215.2 kB / 0.8806 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of SimCode: time 7.81e-07/0.9888, allocations: 0 / 0.8806 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.04345/1.032, allocations: 27.75 MB / 0.9077 GB, free: 88 kB / 0.6355 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)