Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlate.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.0007891/0.0007891, 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.0008698/0.0008698, 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.8484/0.8484, 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.712/0.712, allocations: 154.7 MB / 414.7 MB, free: 0.7656 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.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(IDEAS.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlate") [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.0008864/0.0008864, allocations: 67.91 kB / 0.6195 GB, free: 13.03 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.3907/0.3916, allocations: 101.9 MB / 0.7191 GB, free: 23.72 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Examples.FlatPlate): time 0.03358/0.4252, allocations: 51.83 MB / 0.7697 GB, free: 5.195 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.1223/0.5475, allocations: 141.4 MB / 0.9078 GB, free: 276 kB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002313/0.5498, allocations: 83.38 kB / 0.9079 GB, free: 192 kB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001803/0.5516, allocations: 0.8258 MB / 0.9087 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.005369/0.557, allocations: 3.268 MB / 0.9119 GB, free: 12.08 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.004445/0.5614, allocations: 2.825 MB / 0.9146 GB, free: 9.273 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.008392/0.5698, allocations: 14.26 MB / 0.9286 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003461/0.5733, allocations: 4.942 MB / 0.9334 GB, free: 5.938 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0113/0.5846, allocations: 11.31 MB / 0.9444 GB, free: 10.62 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003474/0.5881, allocations: 4.366 MB / 0.9487 GB, free: 6.238 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008662/0.5889, allocations: 0.7148 MB / 0.9494 GB, free: 5.523 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004188/0.5931, allocations: 3.584 MB / 0.9529 GB, free: 1.941 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.000918/0.594, allocations: 1.811 MB / 0.9547 GB, free: 128 kB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.002028/0.5961, allocations: 2.809 MB / 0.9574 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.007324/0.6034, allocations: 11.59 MB / 0.9687 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.6034, allocations: 0 / 0.9687 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.512e-06/0.6034, allocations: 0 / 0.9687 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.474e-05/0.6034, allocations: 0 / 0.9687 GB, free: 1.68 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1078 * Number of variables: 1078 Notification: Performance of Generate backend data structure: time 0.007118/0.6106, allocations: 6.976 MB / 0.9755 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.6106, allocations: 8.031 kB / 0.9756 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007037/0.6176, allocations: 1.947 MB / 0.9775 GB, free: 8.656 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005801/0.6234, allocations: 5.301 MB / 0.9826 GB, free: 3.285 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.6236, allocations: 312.2 kB / 0.9829 GB, free: 2.977 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004051/0.624, allocations: 408 kB / 0.9833 GB, free: 2.578 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007229/0.6312, allocations: 7.16 MB / 0.9903 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.116e-05/0.6313, allocations: 7.938 kB / 0.9903 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003061/0.6316, allocations: 180 kB / 0.9905 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.176e-05/0.6317, allocations: 172.1 kB / 0.9907 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007299/0.639, allocations: 5.976 MB / 0.9965 GB, free: 4.629 MB / 0.8698 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.01712/0.6561, allocations: 17.65 MB / 1.014 GB, free: 2.688 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3273/0.9834, allocations: 4.315 MB / 1.018 GB, free: 257.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003097/0.9865, allocations: 1.983 MB / 1.02 GB, free: 257.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007861/0.9873, allocations: 290.5 kB / 1.02 GB, free: 257.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003715/0.991, allocations: 3.047 MB / 1.023 GB, free: 255.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=318): time 5.911e-06/0.991, allocations: 1.125 kB / 1.023 GB, free: 255.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=318): time 0.0124/1.003, allocations: 6.867 MB / 1.03 GB, free: 253.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/1.003, allocations: 240.6 kB / 1.03 GB, free: 253.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005108/1.009, allocations: 3.712 MB / 1.034 GB, free: 252.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002626/1.009, allocations: 85.3 kB / 1.034 GB, free: 252.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001395/1.01, allocations: 2.198 MB / 1.036 GB, free: 250.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008351/1.011, allocations: 1.127 MB / 1.037 GB, free: 250.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008587/1.012, allocations: 0.6921 MB / 1.038 GB, free: 249.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 3.131e-05/1.012, allocations: 305.7 kB / 1.038 GB, free: 249.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002778/1.015, allocations: 2.066 MB / 1.04 GB, free: 248.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002991/1.018, allocations: 2.98 MB / 1.043 GB, free: 247.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005474/1.023, allocations: 4.67 MB / 1.047 GB, free: 244.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/1.023, allocations: 4.594 kB / 1.047 GB, free: 244.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=438) (initialization): time 0.007925/1.031, allocations: 5.478 MB / 1.053 GB, free: 242.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.801e-05/1.031, allocations: 54 kB / 1.053 GB, free: 242.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/1.031, allocations: 15.06 kB / 1.053 GB, free: 242.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003614/1.032, allocations: 109.3 kB / 1.053 GB, free: 242.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002232/1.034, allocations: 0.8548 MB / 1.054 GB, free: 242.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/1.035, allocations: 2.138 MB / 1.056 GB, free: 240.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002614/1.038, allocations: 470.8 kB / 1.056 GB, free: 240.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002705/1.038, allocations: 172.3 kB / 1.057 GB, free: 240.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004527/1.043, allocations: 3.473 MB / 1.06 GB, free: 239.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002958/1.046, allocations: 2.987 MB / 1.063 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005294/1.051, allocations: 4.666 MB / 1.067 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.225e-05/1.051, allocations: 4.406 kB / 1.067 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=438) (initialization_lambda0): time 0.007249/1.058, allocations: 5.474 MB / 1.073 GB, free: 233.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.24e-05/1.058, allocations: 52.66 kB / 1.073 GB, free: 233.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/1.058, allocations: 15.72 kB / 1.073 GB, free: 233.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002895/1.058, allocations: 110 kB / 1.073 GB, free: 233 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002002/1.06, allocations: 0.8375 MB / 1.074 GB, free: 233 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/1.061, allocations: 1.551 MB / 1.075 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002259/1.064, allocations: 436.3 kB / 1.076 GB, free: 231.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002155/1.064, allocations: 170.7 kB / 1.076 GB, free: 231.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (427): * Single equations (assignments): 424 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0007972/1.065, allocations: 394.4 kB / 1.076 GB, free: 230.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005173/1.065, allocations: 424.1 kB / 1.077 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006853/1.072, allocations: 5.7 MB / 1.082 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00533/1.077, allocations: 4.608 MB / 1.087 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/1.077, allocations: 0 / 1.087 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/1.079, allocations: 1.056 MB / 1.088 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003851/1.079, allocations: 77.34 kB / 1.088 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/1.081, allocations: 237.7 kB / 1.088 GB, free: 223.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003031/1.081, allocations: 262.1 kB / 1.088 GB, free: 223 MB / 0.8855 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006048/1.087, allocations: 5.221 MB / 1.093 GB, free: 217.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006992/1.094, allocations: 7.312 MB / 1.1 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001949/1.096, allocations: 2.023 MB / 1.102 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002102/1.098, allocations: 2.574 MB / 1.105 GB, free: 205.8 MB / 0.8855 GB Notification: Performance of Backend: time 5.11e-07/1.098, allocations: 0 / 1.105 GB, free: 205.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.009889/1.108, allocations: 7.116 MB / 1.112 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of SimCode: time 0.01005/1.118, allocations: 11.26 MB / 1.123 GB, free: 188 MB / 0.8855 GB Notification: Performance of Templates: time 0.09448/1.212, allocations: 121.2 MB / 1.241 GB, free: 67.61 MB / 0.8855 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlate.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.06086240708828] Failed to read output from testmodel.py, exit status != 0: 1.2177859989460558 1.223511767 0.618712562 Calling exit ...