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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 108.2 kB / 16.37 MB, free: 6.48 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.001144/0.001144, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8309/0.8309, allocations: 132.2 MB / 423.3 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 60.09 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3381, allocations: 80.18 MB / 0.5815 GB, free: 27.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005741/0.3438, allocations: 4.119 MB / 0.5855 GB, free: 24.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1561/0.5, allocations: 150.4 MB / 0.7324 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007641/0.5008, allocations: 11.94 kB / 0.7325 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005/0.5013, allocations: 162.5 kB / 0.7326 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.5028, allocations: 480 kB / 0.7331 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.5046, allocations: 0.7789 MB / 0.7338 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001088/0.5057, allocations: 1.168 MB / 0.735 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007786/0.5065, allocations: 0.6038 MB / 0.7356 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004791/0.507, allocations: 422.5 kB / 0.736 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004877/0.5075, allocations: 442 kB / 0.7364 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.5076, allocations: 100 kB / 0.7365 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008044/0.5084, allocations: 483.5 kB / 0.7369 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002459/0.5087, allocations: 267.1 kB / 0.7372 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000398/0.5091, allocations: 493.3 kB / 0.7377 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.5106, allocations: 1.472 MB / 0.7391 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5106, allocations: 0 / 0.7391 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5106, allocations: 0 / 0.7391 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.5106, allocations: 0 / 0.7391 GB, free: 12.32 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001975/0.5126, allocations: 1.311 MB / 0.7404 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.5126, allocations: 12.03 kB / 0.7404 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008591/0.5135, allocations: 175.5 kB / 0.7406 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.5146, allocations: 0.7228 MB / 0.7413 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.924e-05/0.5146, allocations: 54 kB / 0.7413 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.5147, allocations: 76 kB / 0.7414 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.5161, allocations: 0.852 MB / 0.7422 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.5162, allocations: 3.938 kB / 0.7422 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.911e-05/0.5163, allocations: 40 kB / 0.7423 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.5163, allocations: 16 kB / 0.7423 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001706/0.518, allocations: 1.054 MB / 0.7433 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003522/0.5215, allocations: 2.327 MB / 0.7456 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.5227, allocations: 0.7019 MB / 0.7463 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004426/0.5232, allocations: 271.5 kB / 0.7465 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.314e-05/0.5233, allocations: 20.69 kB / 0.7465 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006937/0.524, allocations: 427.2 kB / 0.7469 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=71): time 1.913e-06/0.524, allocations: 3.938 kB / 0.747 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71): time 0.002823/0.5268, allocations: 1.065 MB / 0.748 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.017e-05/0.5269, allocations: 188.6 kB / 0.7482 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006761/0.5276, allocations: 0.5899 MB / 0.7487 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.664e-05/0.5277, allocations: 37.7 kB / 0.7488 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003058/0.528, allocations: 372.3 kB / 0.7491 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.5282, allocations: 236.5 kB / 0.7494 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/0.5285, allocations: 150.5 kB / 0.7495 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.5287, allocations: 382.8 kB / 0.7499 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004584/0.5291, allocations: 233.9 kB / 0.7501 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005684/0.5297, allocations: 322.8 kB / 0.7504 GB, free: 388 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2866/0.8163, allocations: 0.5383 MB / 0.7509 GB, free: 167 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.8164, allocations: 4.469 kB / 0.7509 GB, free: 167 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002063/0.8184, allocations: 0.7603 MB / 0.7517 GB, free: 167 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.8185, allocations: 7.984 kB / 0.7517 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.8185, allocations: 0.6562 kB / 0.7517 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006035/0.8191, allocations: 83.25 kB / 0.7518 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006483/0.8197, allocations: 147.1 kB / 0.7519 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.8216, allocations: 1.636 MB / 0.7535 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000631/0.8222, allocations: 83.34 kB / 0.7536 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.1e-05/0.8223, allocations: 30.62 kB / 0.7536 GB, free: 165.4 MB / 0.5762 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.0004027/0.8227, allocations: 259.2 kB / 0.7539 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.8228, allocations: 74.16 kB / 0.7539 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/0.8251, allocations: 0.9562 MB / 0.7549 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.8251, allocations: 9.891 kB / 0.7549 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.8251, allocations: 5.062 kB / 0.7549 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.8251, allocations: 10.89 kB / 0.7549 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009926/0.8261, allocations: 0.805 MB / 0.7557 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.8261, allocations: 9.281 kB / 0.7557 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000556/0.8267, allocations: 133.1 kB / 0.7558 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004357/0.8271, allocations: 80.44 kB / 0.7559 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.381e-05/0.8272, allocations: 20.17 kB / 0.7559 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/0.8287, allocations: 1.66 MB / 0.7575 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8288, allocations: 1.625 kB / 0.7575 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.8305, allocations: 0.8264 MB / 0.7583 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003233/0.8309, allocations: 251 kB / 0.7586 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.629e-05/0.831, allocations: 16.56 kB / 0.7586 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005103/0.8315, allocations: 55.17 kB / 0.7586 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.8316, allocations: 59.09 kB / 0.7587 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.316e-05/0.8317, allocations: 31.52 kB / 0.7587 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005749/0.8323, allocations: 430.6 kB / 0.7591 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8323, allocations: 0 / 0.7591 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008738/0.8332, allocations: 277.5 kB / 0.7594 GB, free: 162 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.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.001345/0.8345, allocations: 0.6042 MB / 0.76 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00152/0.8361, allocations: 0.7528 MB / 0.7607 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.8361, allocations: 2.125 kB / 0.7607 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007527/0.8369, allocations: 477.1 kB / 0.7612 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000932/0.8378, allocations: 281.9 kB / 0.7615 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003086/0.8409, allocations: 1.617 MB / 0.763 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.8413, allocations: 1.001 MB / 0.764 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006733/0.842, allocations: 254.7 kB / 0.7643 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/0.8422, allocations: 92.52 kB / 0.7643 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of SimCode: time 6.21e-07/0.8422, allocations: 0 / 0.7643 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.02019/0.8624, allocations: 13.57 MB / 0.7776 GB, free: 147.9 MB / 0.5762 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)