Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.001236/0.001236, allocations: 73.97 kB / 20.66 MB, free: 3.84 MB / 18.57 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.001327/0.001327, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 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 0.9999/0.9999, allocations: 177.2 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7944/0.7944, allocations: 154.9 MB / 415.9 MB, free: 240 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.5219 GB, free: 1.559 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.432e-05/1.584e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.555 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005229/0.005245, allocations: 5.681 MB / 0.5274 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1224/0.1277, allocations: 144.1 MB / 0.6681 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008563/0.1285, allocations: 23.81 kB / 0.6681 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005363/0.1291, allocations: 249.5 kB / 0.6684 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.1305, allocations: 0.6753 MB / 0.669 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.1321, allocations: 0.888 MB / 0.6699 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001432/0.1335, allocations: 1.715 MB / 0.6716 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008508/0.1344, allocations: 0.5815 MB / 0.6721 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.1358, allocations: 0.9783 MB / 0.6731 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005264/0.1363, allocations: 478.5 kB / 0.6735 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001792/0.1365, allocations: 144 kB / 0.6737 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000783/0.1372, allocations: 0.5188 MB / 0.6742 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002596/0.1375, allocations: 366.7 kB / 0.6745 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004165/0.1379, allocations: 0.4909 MB / 0.675 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001465/0.1394, allocations: 1.463 MB / 0.6764 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1394, allocations: 0 / 0.6764 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1394, allocations: 0 / 0.6764 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.1394, allocations: 0 / 0.6764 GB, free: 2.84 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002126/0.1415, allocations: 1.801 MB / 0.6782 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.1416, allocations: 12.03 kB / 0.6782 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.1428, allocations: 391.4 kB / 0.6786 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2445/0.3873, allocations: 0.7997 MB / 0.6794 GB, free: 58.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.421e-05/0.3873, allocations: 88.28 kB / 0.6795 GB, free: 58.97 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.3875, allocations: 119.5 kB / 0.6796 GB, free: 58.97 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.3889, allocations: 1.07 MB / 0.6806 GB, free: 58.51 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.3889, allocations: 0 / 0.6806 GB, free: 58.51 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.881e-05/0.389, allocations: 58.39 kB / 0.6807 GB, free: 58.51 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/0.389, allocations: 31.25 kB / 0.6807 GB, free: 58.51 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.39, allocations: 0.741 MB / 0.6814 GB, free: 58.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003374/0.3934, allocations: 2.559 MB / 0.6839 GB, free: 57.61 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007954/0.3942, allocations: 462.5 kB / 0.6844 GB, free: 57.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/0.3944, allocations: 150.4 kB / 0.6845 GB, free: 57.56 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.731e-05/0.3945, allocations: 33.72 kB / 0.6845 GB, free: 57.56 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005312/0.395, allocations: 476.8 kB / 0.685 GB, free: 57.35 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=87): time 2.966e-06/0.395, allocations: 2.844 kB / 0.685 GB, free: 57.35 MB / 0.6355 GB Notification: Performance of matching and sorting (n=87): time 0.001958/0.397, allocations: 0.7674 MB / 0.6857 GB, free: 57.22 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.397, allocations: 193.8 kB / 0.6859 GB, free: 57 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005529/0.3976, allocations: 0.6165 MB / 0.6865 GB, free: 56.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.397e-05/0.3976, allocations: 46.27 kB / 0.6866 GB, free: 56.79 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/0.3979, allocations: 0.5854 MB / 0.6872 GB, free: 56.53 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.3981, allocations: 298.1 kB / 0.6874 GB, free: 56.38 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002464/0.3983, allocations: 186.5 kB / 0.6876 GB, free: 56.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.3985, allocations: 0.5747 MB / 0.6882 GB, free: 55.85 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.3987, allocations: 109.5 kB / 0.6883 GB, free: 55.85 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.399, allocations: 349.5 kB / 0.6886 GB, free: 55.62 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005642/0.3996, allocations: 342.8 kB / 0.6889 GB, free: 55.56 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3996, allocations: 0 / 0.6889 GB, free: 55.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001273/0.4009, allocations: 0.6121 MB / 0.6895 GB, free: 55.45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.4009, allocations: 8.281 kB / 0.6895 GB, free: 55.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.4009, allocations: 2.969 kB / 0.6895 GB, free: 55.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006594/0.4016, allocations: 132.5 kB / 0.6897 GB, free: 55.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005807/0.4021, allocations: 169.2 kB / 0.6898 GB, free: 55.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.4035, allocations: 1.88 MB / 0.6917 GB, free: 53.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004579/0.404, allocations: 76.45 kB / 0.6917 GB, free: 53.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.982e-05/0.4041, allocations: 32.94 kB / 0.6918 GB, free: 53.68 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.0002554/0.4043, allocations: 218.6 kB / 0.692 GB, free: 53.52 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.4045, allocations: 118.7 kB / 0.6921 GB, free: 53.47 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.4061, allocations: 0.7854 MB / 0.6929 GB, free: 53.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.4061, allocations: 18.25 kB / 0.6929 GB, free: 53.37 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.4061, allocations: 2.297 kB / 0.6929 GB, free: 53.37 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.4061, allocations: 3.422 kB / 0.6929 GB, free: 53.37 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006689/0.4068, allocations: 0.5498 MB / 0.6934 GB, free: 53.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.4068, allocations: 4.547 kB / 0.6934 GB, free: 53.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005115/0.4073, allocations: 151.9 kB / 0.6936 GB, free: 53.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005203/0.4078, allocations: 116.2 kB / 0.6937 GB, free: 53.23 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.867e-05/0.4079, allocations: 26.53 kB / 0.6937 GB, free: 53.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001155/0.409, allocations: 1.892 MB / 0.6956 GB, free: 51.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.409, allocations: 0 / 0.6956 GB, free: 51.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.4102, allocations: 0.7059 MB / 0.6962 GB, free: 51.32 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003207/0.4106, allocations: 200.6 kB / 0.6964 GB, free: 51.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.4107, allocations: 21.78 kB / 0.6965 GB, free: 51.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003888/0.4111, allocations: 36.78 kB / 0.6965 GB, free: 51.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.4112, allocations: 75.25 kB / 0.6966 GB, free: 51.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-05/0.4113, allocations: 34.48 kB / 0.6966 GB, free: 51.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003164/0.4116, allocations: 390.5 kB / 0.697 GB, free: 51.14 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4116, allocations: 0.7812 kB / 0.697 GB, free: 51.14 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008513/0.4124, allocations: 400.3 kB / 0.6974 GB, free: 51.11 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001562/0.414, allocations: 0.6246 MB / 0.698 GB, free: 50.98 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009284/0.4149, allocations: 0.6176 MB / 0.6986 GB, free: 50.78 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4149, allocations: 1.062 kB / 0.6986 GB, free: 50.78 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005616/0.4155, allocations: 456.8 kB / 0.699 GB, free: 50.59 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.4165, allocations: 338.2 kB / 0.6993 GB, free: 50.55 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.4193, allocations: 1.821 MB / 0.7011 GB, free: 49.7 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.4194, allocations: 217.8 kB / 0.7013 GB, free: 49.61 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006065/0.42, allocations: 193.4 kB / 0.7015 GB, free: 49.57 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007689/0.4208, allocations: 374.9 kB / 0.7019 GB, free: 49.51 MB / 0.6355 GB Notification: Performance of SimCode: time 9.62e-07/0.4208, allocations: 0 / 0.7019 GB, free: 49.51 MB / 0.6355 GB Notification: Performance of Templates: time 0.02746/0.4483, allocations: 17.3 MB / 0.7188 GB, free: 47.87 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.734027820173651]