Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.0008935/0.0008935, allocations: 80.44 kB / 19.91 MB, free: 4 kB / 13.93 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.001103/0.001103, allocations: 169.2 kB / 23.19 MB, free: 1.371 MB / 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.8805/0.8805, allocations: 177.2 MB / 203.6 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6996/0.6996, allocations: 154.7 MB / 414.7 MB, free: 0.7578 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") translateModel(IDEAS.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") [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.0009527/0.0009527, allocations: 75.83 kB / 0.6195 GB, free: 13.17 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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.4265/0.4275, allocations: 101.9 MB / 0.7191 GB, free: 23.6 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue): time 0.02271/0.4502, allocations: 35.29 MB / 0.7536 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.1257/0.5759, allocations: 142.2 MB / 0.8925 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00269/0.5786, allocations: 79.48 kB / 0.8926 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002094/0.5807, allocations: 0.8635 MB / 0.8934 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.004421/0.5851, allocations: 2.061 MB / 0.8954 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.004428/0.5895, allocations: 2.485 MB / 0.8978 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.009409/0.5989, allocations: 13.78 MB / 0.9113 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004752/0.6037, allocations: 4.794 MB / 0.916 GB, free: 7.852 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008508/0.6122, allocations: 6.919 MB / 0.9227 GB, free: 0.9492 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004909/0.6171, allocations: 4.264 MB / 0.9269 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.00102/0.6181, allocations: 0.6875 MB / 0.9276 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003589/0.6217, allocations: 2.056 MB / 0.9296 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.00113/0.6228, allocations: 1.764 MB / 0.9313 GB, free: 8.148 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.002773/0.6256, allocations: 2.75 MB / 0.934 GB, free: 5.387 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.009327/0.6349, allocations: 10.81 MB / 0.9445 GB, free: 10.55 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.6349, allocations: 4 kB / 0.9445 GB, free: 10.54 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6349, allocations: 0 / 0.9445 GB, free: 10.54 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001788/0.6351, allocations: 7.875 kB / 0.9445 GB, free: 10.54 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1070 * Number of variables: 1070 Notification: Performance of Generate backend data structure: time 0.009278/0.6444, allocations: 6.804 MB / 0.9512 GB, free: 3.652 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.6444, allocations: 8.031 kB / 0.9512 GB, free: 3.645 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004938/0.6494, allocations: 1.604 MB / 0.9528 GB, free: 2.035 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006469/0.6558, allocations: 5.106 MB / 0.9577 GB, free: 12.86 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/0.656, allocations: 312.2 kB / 0.958 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004369/0.6564, allocations: 411.9 kB / 0.9584 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007695/0.6641, allocations: 7.056 MB / 0.9653 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.208e-05/0.6642, allocations: 11.94 kB / 0.9653 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002991/0.6645, allocations: 172 kB / 0.9655 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000116/0.6646, allocations: 191.9 kB / 0.9657 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007537/0.6721, allocations: 5.89 MB / 0.9714 GB, free: 14.37 MB / 0.8542 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01885/0.691, allocations: 17.01 MB / 0.988 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005018/0.696, allocations: 4.043 MB / 0.992 GB, free: 9.086 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002273/0.6983, allocations: 1.97 MB / 0.9939 GB, free: 7.105 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005831/0.6989, allocations: 250 kB / 0.9942 GB, free: 6.859 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003192/0.7021, allocations: 3.216 MB / 0.9973 GB, free: 3.41 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=299): time 5.781e-06/0.7021, allocations: 112 / 0.9973 GB, free: 3.41 MB / 0.8698 GB Notification: Performance of matching and sorting (n=299): time 0.00877/0.7108, allocations: 5.857 MB / 1.003 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.638e-05/0.7109, allocations: 244 kB / 1.003 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003885/0.7148, allocations: 3.758 MB / 1.007 GB, free: 9.473 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002874/0.7151, allocations: 85.7 kB / 1.007 GB, free: 9.383 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001508/0.7166, allocations: 2.206 MB / 1.009 GB, free: 7.16 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008145/0.7174, allocations: 1.054 MB / 1.01 GB, free: 6.098 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007645/0.7182, allocations: 0.6832 MB / 1.011 GB, free: 5.406 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.183e-05/0.7183, allocations: 301.1 kB / 1.011 GB, free: 5.109 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002537/0.7208, allocations: 2.025 MB / 1.013 GB, free: 3.07 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3563/1.077, allocations: 3.037 MB / 1.016 GB, free: 256.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006444/1.084, allocations: 4.626 MB / 1.021 GB, free: 255.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.446e-05/1.084, allocations: 8.406 kB / 1.021 GB, free: 255.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=431) (initialization): time 0.007807/1.091, allocations: 5.393 MB / 1.026 GB, free: 253.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.745e-05/1.091, allocations: 52.36 kB / 1.026 GB, free: 253.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/1.091, allocations: 18.03 kB / 1.026 GB, free: 253.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003648/1.092, allocations: 111.9 kB / 1.026 GB, free: 253.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002092/1.094, allocations: 0.8233 MB / 1.027 GB, free: 253.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/1.095, allocations: 1.549 MB / 1.028 GB, free: 252.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/1.097, allocations: 472.6 kB / 1.029 GB, free: 252.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002405/1.098, allocations: 163.5 kB / 1.029 GB, free: 252.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004312/1.102, allocations: 3.41 MB / 1.032 GB, free: 250.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002845/1.105, allocations: 3.038 MB / 1.035 GB, free: 249 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005289/1.11, allocations: 4.62 MB / 1.04 GB, free: 246.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.26e-05/1.11, allocations: 5.469 kB / 1.04 GB, free: 246.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=431) (initialization_lambda0): time 0.007267/1.117, allocations: 5.395 MB / 1.045 GB, free: 245 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.464e-05/1.117, allocations: 58.34 kB / 1.045 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/1.117, allocations: 17.19 kB / 1.045 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003006/1.118, allocations: 117.1 kB / 1.045 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/1.12, allocations: 0.8169 MB / 1.046 GB, free: 244.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/1.121, allocations: 1.56 MB / 1.048 GB, free: 243.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/1.123, allocations: 437.3 kB / 1.048 GB, free: 243.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002356/1.123, allocations: 164.5 kB / 1.048 GB, free: 243.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 23 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.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,solCol.HDirTil.incAng.decAng.tNext,$PRE.solCol.HDirTil.incAng.decAng.tNext,solCol.HDifTilIso.incAng.decAng.tNext,$PRE.solCol.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (420): * Single equations (assignments): 418 * Array equations: 0 * Algorithm blocks: 1 * 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.0007867/1.124, allocations: 392.3 kB / 1.049 GB, free: 243.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00054/1.125, allocations: 418.5 kB / 1.049 GB, free: 242.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007017/1.132, allocations: 5.101 MB / 1.054 GB, free: 241 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005403/1.137, allocations: 4.058 MB / 1.058 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/1.137, allocations: 0.7031 kB / 1.058 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001477/1.138, allocations: 1.019 MB / 1.059 GB, free: 238.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004457/1.139, allocations: 71.83 kB / 1.059 GB, free: 238.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/1.14, allocations: 266.9 kB / 1.059 GB, free: 238.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003492/1.141, allocations: 209.4 kB / 1.059 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00639/1.147, allocations: 4.638 MB / 1.064 GB, free: 237.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008091/1.155, allocations: 7.299 MB / 1.071 GB, free: 234.2 MB / 0.8855 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002021/1.157, allocations: 1.954 MB / 1.073 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002319/1.16, allocations: 2.603 MB / 1.075 GB, free: 232.1 MB / 0.8855 GB Notification: Performance of Backend: time 4.5e-07/1.16, allocations: 0 / 1.075 GB, free: 232.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.009773/1.169, allocations: 6.76 MB / 1.082 GB, free: 228.6 MB / 0.8855 GB Notification: Performance of SimCode: time 0.01011/1.179, allocations: 10.87 MB / 1.093 GB, free: 217.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.08689/1.266, allocations: 116.2 MB / 1.206 GB, free: 102.6 MB / 0.8855 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.581607114057988] Failed to read output from testmodel.py, exit status != 0: 1.2725317680742592 1.277886361 0.6415083269999999 Calling exit ...