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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 75.75 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 157.8 kB / 23.01 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.451/1.451, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8971/0.8971, allocations: 101.3 MB / 361.1 MB, free: 9.543 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 64.91 kB / 0.5356 GB, free: 5.27 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1747, allocations: 85.88 MB / 0.6195 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.009206/0.1839, allocations: 5.407 MB / 0.6248 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5581/0.742, allocations: 133.5 MB / 0.7551 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.7432, allocations: 31.91 kB / 0.7552 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007918/0.744, allocations: 257.5 kB / 0.7554 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002539/0.7465, allocations: 0.6425 MB / 0.756 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003676/0.7502, allocations: 1.322 MB / 0.7573 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003837/0.7541, allocations: 2.436 MB / 0.7597 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001978/0.756, allocations: 1.081 MB / 0.7608 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001909/0.7579, allocations: 1.112 MB / 0.7618 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001846/0.7598, allocations: 1.057 MB / 0.7629 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004929/0.7603, allocations: 300.4 kB / 0.7632 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.7617, allocations: 0.6917 MB / 0.7638 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000678/0.7624, allocations: 0.6492 MB / 0.7645 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001185/0.7636, allocations: 0.9495 MB / 0.7654 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00479/0.7684, allocations: 3.365 MB / 0.7687 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.7684, allocations: 0 / 0.7687 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.364e-06/0.7684, allocations: 3.938 kB / 0.7687 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.842e-05/0.7685, allocations: 0 / 0.7687 GB, free: 2.086 MB / 0.6075 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.007083/0.7756, allocations: 2.598 MB / 0.7712 GB, free: 256 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/0.7756, allocations: 7.531 kB / 0.7712 GB, free: 256 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01857/0.7942, allocations: 2.299 MB / 0.7735 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003007/0.7972, allocations: 1.167 MB / 0.7746 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.7974, allocations: 160.3 kB / 0.7748 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004432/0.7978, allocations: 213 kB / 0.775 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008996/0.8068, allocations: 3.405 MB / 0.7783 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.46e-05/0.8069, allocations: 2.969 kB / 0.7783 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002773/0.8071, allocations: 94.28 kB / 0.7784 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.548e-05/0.8072, allocations: 53.28 kB / 0.7784 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01297/0.8201, allocations: 4.036 MB / 0.7824 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01641/0.8365, allocations: 5.836 MB / 0.7881 GB, free: 5.766 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008891/0.8454, allocations: 2.529 MB / 0.7905 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004869/0.8503, allocations: 1.297 MB / 0.7918 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007297/0.851, allocations: 120.5 kB / 0.7919 GB, free: 3.789 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005657/0.8567, allocations: 1.787 MB / 0.7937 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=195): time 4.699e-06/0.8567, allocations: 0 / 0.7937 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=195): time 0.0159/0.8726, allocations: 4.123 MB / 0.7977 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000165/0.8728, allocations: 205.9 kB / 0.7979 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.8741, allocations: 0.7393 MB / 0.7986 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002816/0.8744, allocations: 57.7 kB / 0.7987 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007663/0.8752, allocations: 0.7363 MB / 0.7994 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008182/0.876, allocations: 0.6649 MB / 0.8 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007144/0.8767, allocations: 367.3 kB / 0.8004 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002495/0.877, allocations: 357.9 kB / 0.8007 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004354/0.8813, allocations: 1.191 MB / 0.8019 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004693/0.886, allocations: 1.489 MB / 0.8034 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008867/0.8949, allocations: 2.489 MB / 0.8058 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.8949, allocations: 0.875 kB / 0.8058 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.01054/0.9054, allocations: 2.957 MB / 0.8087 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.9055, allocations: 7.938 kB / 0.8087 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.9055, allocations: 8.062 kB / 0.8087 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006233/0.9061, allocations: 80.77 kB / 0.8088 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003883/0.91, allocations: 0.5734 MB / 0.8093 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/0.9124, allocations: 1.502 MB / 0.8108 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003322/0.9157, allocations: 324.2 kB / 0.8111 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004288/0.9161, allocations: 95.89 kB / 0.8112 GB, free: 0.6133 MB / 0.6387 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.001272/0.9174, allocations: 405 kB / 0.8116 GB, free: 216 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005743/0.918, allocations: 139.1 kB / 0.8117 GB, free: 76 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01292/0.9309, allocations: 3.485 MB / 0.8151 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.713e-05/0.9309, allocations: 20 kB / 0.8151 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.931, allocations: 0 / 0.8151 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.801e-05/0.931, allocations: 15.95 kB / 0.8151 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01568/0.9467, allocations: 5.088 MB / 0.8201 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.9467, allocations: 0 / 0.8201 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003849/0.9505, allocations: 0.5536 MB / 0.8207 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005109/0.951, allocations: 68.8 kB / 0.8207 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004386/0.9515, allocations: 75.84 kB / 0.8208 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002306/0.9538, allocations: 1.528 MB / 0.8223 GB, free: 5.082 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.9538, allocations: 64 / 0.8223 GB, free: 5.082 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01248/0.9663, allocations: 3.054 MB / 0.8253 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001629/0.9679, allocations: 420.5 kB / 0.8257 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006616/0.9686, allocations: 51.88 kB / 0.8257 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003245/0.9718, allocations: 251.7 kB / 0.826 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004368/0.9722, allocations: 137.7 kB / 0.8261 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003375/0.9726, allocations: 75.92 kB / 0.8262 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00114/0.9737, allocations: 0.5576 MB / 0.8267 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.9737, allocations: 0 / 0.8267 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002531/0.9762, allocations: 0.6154 MB / 0.8273 GB, free: 15.91 MB / 0.67 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.002701/0.9789, allocations: 0.6875 MB / 0.828 GB, free: 15.45 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01167/0.9906, allocations: 2.862 MB / 0.8308 GB, free: 12.58 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.9906, allocations: 0 / 0.8308 GB, free: 12.58 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00559/0.9962, allocations: 1.54 MB / 0.8323 GB, free: 11.02 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.9987, allocations: 331.3 kB / 0.8326 GB, free: 10.72 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/1.01, allocations: 4.005 MB / 0.8365 GB, free: 6.684 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001375/1.011, allocations: 0.8006 MB / 0.8373 GB, free: 5.844 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004182/1.015, allocations: 0.5306 MB / 0.8378 GB, free: 5.309 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001427/1.017, allocations: 220.3 kB / 0.838 GB, free: 5.094 MB / 0.67 GB Notification: Performance of SimCode: time 1.503e-06/1.017, allocations: 0 / 0.838 GB, free: 5.094 MB / 0.67 GB Notification: Performance of Templates: time 0.05515/1.072, allocations: 28.11 MB / 0.8655 GB, free: 9.215 MB / 0.7012 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile [Timeout 660] (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 -s ida -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.613576694042422] Failed to read output from testmodel.py, exit status != 0: 1.082209748099558 1.10177964 0.329891135 Calling exit ...