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.001374/0.001374, allocations: 78.25 kB / 19.75 MB, free: 2.055 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.0015/0.0015, allocations: 159.2 kB / 23 MB, free: 4.949 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.388/1.388, allocations: 177.2 MB / 203.4 MB, free: 9.277 MB / 190.1 MB " [Timeout remaining time 179] 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.7926/0.7926, allocations: 101.3 MB / 361.1 MB, free: 10.08 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.002015/0.002015, allocations: 70.86 kB / 0.5356 GB, free: 5.574 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.161/0.163, allocations: 85.88 MB / 0.6195 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007615/0.1706, allocations: 5.393 MB / 0.6247 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5309/0.7015, allocations: 133.5 MB / 0.7551 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.7028, allocations: 28.47 kB / 0.7551 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007432/0.7035, allocations: 268.7 kB / 0.7554 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002023/0.7055, allocations: 0.6364 MB / 0.756 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002964/0.7085, allocations: 1.319 MB / 0.7573 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003298/0.7118, allocations: 2.432 MB / 0.7597 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00166/0.7135, allocations: 1.082 MB / 0.7607 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00247/0.7159, allocations: 1.67 MB / 0.7624 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.7172, allocations: 1.054 MB / 0.7634 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003029/0.7175, allocations: 301.5 kB / 0.7637 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.7187, allocations: 0.6761 MB / 0.7644 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006505/0.7194, allocations: 0.6494 MB / 0.765 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008997/0.7203, allocations: 0.9509 MB / 0.7659 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003616/0.7239, allocations: 3.372 MB / 0.7692 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.7239, allocations: 0 / 0.7692 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7239, allocations: 0 / 0.7692 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.747e-05/0.7239, allocations: 0 / 0.7692 GB, free: 1.812 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.005625/0.7296, allocations: 2.601 MB / 0.7717 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.7296, allocations: 10.53 kB / 0.7718 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01774/0.7473, allocations: 2.298 MB / 0.774 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002779/0.7501, allocations: 1.165 MB / 0.7751 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.7502, allocations: 162.2 kB / 0.7753 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003685/0.7506, allocations: 211.6 kB / 0.7755 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008667/0.7593, allocations: 3.414 MB / 0.7788 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.415e-05/0.7593, allocations: 0 / 0.7788 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002643/0.7596, allocations: 87.34 kB / 0.7789 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.143e-05/0.7596, allocations: 53.31 kB / 0.779 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01232/0.7719, allocations: 4.038 MB / 0.7829 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01571/0.7876, allocations: 5.847 MB / 0.7886 GB, free: 5.48 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008822/0.7965, allocations: 2.516 MB / 0.7911 GB, free: 4.23 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004829/0.8013, allocations: 1.298 MB / 0.7923 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007706/0.8021, allocations: 116 kB / 0.7925 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005899/0.808, allocations: 1.794 MB / 0.7942 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=195): time 5.24e-06/0.808, allocations: 4 kB / 0.7942 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of matching and sorting (n=195): time 0.01574/0.8237, allocations: 4.116 MB / 0.7982 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001609/0.8239, allocations: 205.9 kB / 0.7984 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.8251, allocations: 0.7432 MB / 0.7992 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002465/0.8253, allocations: 69.64 kB / 0.7992 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006918/0.826, allocations: 0.7285 MB / 0.7999 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007318/0.8267, allocations: 0.6661 MB / 0.8006 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007501/0.8275, allocations: 367.3 kB / 0.8009 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.8277, allocations: 353.9 kB / 0.8013 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004271/0.8319, allocations: 1.191 MB / 0.8024 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00466/0.8366, allocations: 1.485 MB / 0.8039 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008758/0.8454, allocations: 2.497 MB / 0.8063 GB, free: 6.055 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/0.8454, allocations: 0.875 kB / 0.8063 GB, free: 6.055 MB / 0.6387 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.01035/0.8557, allocations: 2.949 MB / 0.8092 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.8557, allocations: 4 kB / 0.8092 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.8558, allocations: 7 kB / 0.8092 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006248/0.8564, allocations: 88.83 kB / 0.8093 GB, free: 2.996 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003747/0.8601, allocations: 0.5733 MB / 0.8099 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002364/0.8625, allocations: 1.5 MB / 0.8113 GB, free: 0.8164 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003102/0.8656, allocations: 322.9 kB / 0.8116 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002589/0.8659, allocations: 95.89 kB / 0.8117 GB, free: 416 kB / 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.001128/0.867, allocations: 406.5 kB / 0.8121 GB, free: 0 / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00044/0.8674, allocations: 139.3 kB / 0.8122 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/0.8787, allocations: 3.482 MB / 0.8156 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/0.8787, allocations: 20 kB / 0.8157 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.8787, allocations: 0 / 0.8157 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.322e-05/0.8788, allocations: 11.95 kB / 0.8157 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01381/0.8926, allocations: 5.096 MB / 0.8206 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.8926, allocations: 0 / 0.8206 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003507/0.8961, allocations: 0.5422 MB / 0.8212 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004592/0.8965, allocations: 80.77 kB / 0.8213 GB, free: 6.574 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002376/0.8968, allocations: 71.86 kB / 0.8213 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/0.8988, allocations: 1.52 MB / 0.8228 GB, free: 4.879 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.8988, allocations: 3.984 kB / 0.8228 GB, free: 4.875 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/0.9089, allocations: 3.05 MB / 0.8258 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/0.9101, allocations: 428.2 kB / 0.8262 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000306/0.9104, allocations: 47.89 kB / 0.8262 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002612/0.913, allocations: 247.7 kB / 0.8265 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002922/0.9133, allocations: 137.7 kB / 0.8266 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000209/0.9135, allocations: 79.92 kB / 0.8267 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008731/0.9144, allocations: 0.5537 MB / 0.8272 GB, free: 332 kB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.9144, allocations: 7.688 kB / 0.8272 GB, free: 328 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001766/0.9161, allocations: 0.6192 MB / 0.8278 GB, free: 15.7 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.002121/0.9182, allocations: 0.6776 MB / 0.8285 GB, free: 15.24 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.009331/0.9276, allocations: 2.87 MB / 0.8313 GB, free: 12.37 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.9276, allocations: 0 / 0.8313 GB, free: 12.37 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004697/0.9323, allocations: 1.533 MB / 0.8328 GB, free: 10.82 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.9338, allocations: 339.1 kB / 0.8331 GB, free: 10.51 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009483/0.9433, allocations: 3.993 MB / 0.837 GB, free: 6.484 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008569/0.9442, allocations: 0.7967 MB / 0.8378 GB, free: 5.648 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002442/0.9466, allocations: 0.55 MB / 0.8383 GB, free: 5.094 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009584/0.9476, allocations: 212.3 kB / 0.8385 GB, free: 4.887 MB / 0.67 GB Notification: Performance of SimCode: time 8.11e-07/0.9476, allocations: 0 / 0.8385 GB, free: 4.887 MB / 0.67 GB Notification: Performance of Templates: time 0.04492/0.9925, allocations: 28.12 MB / 0.866 GB, free: 9.004 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 gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.903847552835941] Failed to read output from testmodel.py, exit status != 0: 1.0011163940653205 1.016114568 0.28912700199999997 Calling exit ...