Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.Validation.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.0007652/0.0007652, allocations: 80.48 kB / 19.91 MB, free: 4.633 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.0008059/0.0008059, allocations: 173.2 kB / 23.2 MB, free: 1.355 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.8881/0.8881, allocations: 177.2 MB / 203.6 MB, free: 5.77 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.7029/0.7029, allocations: 154.7 MB / 414.7 MB, free: 0.7461 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.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.Validation.FlatPlate") translateModel(IDEAS.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.Validation.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.0009539/0.0009539, allocations: 79.88 kB / 0.6195 GB, free: 13.12 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.4095/0.4105, allocations: 101.9 MB / 0.7191 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Validation.FlatPlate): time 0.01989/0.4303, allocations: 29.72 MB / 0.7481 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.1262/0.5565, allocations: 141.7 MB / 0.8865 GB, free: 6.172 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00258/0.5591, allocations: 75.38 kB / 0.8866 GB, free: 6.098 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.00199/0.5611, allocations: 0.8298 MB / 0.8874 GB, free: 5.262 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003896/0.565, allocations: 1.973 MB / 0.8893 GB, free: 3.285 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.004079/0.5691, allocations: 2.187 MB / 0.8914 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.02109/0.5902, allocations: 36.59 MB / 0.9272 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0114/0.6015, allocations: 11.71 MB / 0.9386 GB, free: 0.582 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02295/0.6245, allocations: 17.23 MB / 0.9554 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0122/0.6367, allocations: 11.11 MB / 0.9663 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.003307/0.64, allocations: 1.57 MB / 0.9678 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007103/0.6471, allocations: 2.912 MB / 0.9706 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.003326/0.6504, allocations: 4.127 MB / 0.9747 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.007465/0.6579, allocations: 6.474 MB / 0.981 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.01825/0.6761, allocations: 24.39 MB / 1.005 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6762, allocations: 0 / 1.005 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6762, allocations: 0 / 1.005 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003635/0.6765, allocations: 0 / 1.005 GB, free: 12.67 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2428 * Number of variables: 2428 Notification: Performance of Generate backend data structure: time 0.5606/1.237, allocations: 15.52 MB / 1.02 GB, free: 248.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/1.237, allocations: 9.031 kB / 1.02 GB, free: 248.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007609/1.245, allocations: 2.443 MB / 1.022 GB, free: 247.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01773/1.263, allocations: 13.38 MB / 1.035 GB, free: 242.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003171/1.263, allocations: 0.677 MB / 1.036 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001356/1.264, allocations: 0.908 MB / 1.037 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01872/1.283, allocations: 17.31 MB / 1.054 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001358/1.283, allocations: 36.66 kB / 1.054 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007065/1.284, allocations: 401.3 kB / 1.054 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003279/1.284, allocations: 475 kB / 1.055 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01572/1.3, allocations: 13.5 MB / 1.068 GB, free: 226.6 MB / 0.8855 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.03709/1.337, allocations: 43.1 MB / 1.11 GB, free: 188.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008666/1.346, allocations: 9.612 MB / 1.119 GB, free: 178.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004008/1.35, allocations: 4.639 MB / 1.124 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004717/1.35, allocations: 244.7 kB / 1.124 GB, free: 173.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00486/1.355, allocations: 7.363 MB / 1.131 GB, free: 165.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=629): time 7.093e-06/1.355, allocations: 0 / 1.131 GB, free: 165.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=629): time 0.0131/1.368, allocations: 12.62 MB / 1.144 GB, free: 153.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/1.368, allocations: 300.2 kB / 1.144 GB, free: 152.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007123/1.375, allocations: 9.367 MB / 1.153 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004464/1.376, allocations: 153.7 kB / 1.153 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002416/1.378, allocations: 5.369 MB / 1.159 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001272/1.379, allocations: 2.27 MB / 1.161 GB, free: 136 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001329/1.381, allocations: 1.509 MB / 1.162 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 2.057e-05/1.381, allocations: 305.1 kB / 1.162 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004175/1.385, allocations: 4.417 MB / 1.167 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004574/1.389, allocations: 6.641 MB / 1.173 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008656/1.398, allocations: 10.97 MB / 1.184 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.206e-05/1.398, allocations: 16 kB / 1.184 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.01138/1.409, allocations: 11.96 MB / 1.196 GB, free: 98.48 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.858e-05/1.41, allocations: 65.69 kB / 1.196 GB, free: 98.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.772e-05/1.41, allocations: 52 kB / 1.196 GB, free: 98.36 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.402e-05/1.41, allocations: 92 kB / 1.196 GB, free: 98.27 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003718/1.413, allocations: 1.825 MB / 1.198 GB, free: 96.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.503e-05/1.413, allocations: 131.6 kB / 1.198 GB, free: 96.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004197/1.418, allocations: 1.022 MB / 1.199 GB, free: 95.29 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003807/1.418, allocations: 359.8 kB / 1.199 GB, free: 94.94 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006931/1.425, allocations: 8.19 MB / 1.207 GB, free: 86.73 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004425/1.429, allocations: 6.633 MB / 1.214 GB, free: 79.25 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008505/1.438, allocations: 10.97 MB / 1.224 GB, free: 67.47 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.011e-05/1.438, allocations: 19.94 kB / 1.224 GB, free: 67.45 MB / 0.8855 GB Notification: Performance of matching and sorting (n=966) (initialization_lambda0): time 0.01115/1.449, allocations: 11.95 MB / 1.236 GB, free: 55.42 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.949e-05/1.449, allocations: 65.69 kB / 1.236 GB, free: 55.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-05/1.449, allocations: 52 kB / 1.236 GB, free: 55.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.042e-05/1.449, allocations: 92 kB / 1.236 GB, free: 55.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003632/1.453, allocations: 1.829 MB / 1.238 GB, free: 53.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.649e-05/1.453, allocations: 119.6 kB / 1.238 GB, free: 53.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003918/1.457, allocations: 0.9095 MB / 1.239 GB, free: 52.35 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003713/1.457, allocations: 363.8 kB / 1.239 GB, free: 51.99 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 244 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.datRea.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,datRea.nextTimeEventScaled,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEvent,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,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (957): * Single equations (assignments): 956 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001121/1.458, allocations: 0.662 MB / 1.24 GB, free: 51.32 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/1.459, allocations: 0.9433 MB / 1.241 GB, free: 50.38 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00985/1.469, allocations: 10.19 MB / 1.251 GB, free: 40.12 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008913/1.478, allocations: 8.187 MB / 1.259 GB, free: 31.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/1.478, allocations: 0 / 1.259 GB, free: 31.85 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004526/1.483, allocations: 2.362 MB / 1.261 GB, free: 29.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001327/1.484, allocations: 143.9 kB / 1.261 GB, free: 29.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004741/1.489, allocations: 0.524 MB / 1.262 GB, free: 28.82 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000532/1.489, allocations: 400.3 kB / 1.262 GB, free: 28.42 MB / 0.8855 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01044/1.5, allocations: 9.889 MB / 1.272 GB, free: 18.45 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01375/1.513, allocations: 15.91 MB / 1.287 GB, free: 2.422 MB / 0.8855 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003916/1.517, allocations: 4.249 MB / 1.292 GB, free: 14.14 MB / 0.9012 GB Notification: Performance of sorting global known variables: time 0.006489/1.524, allocations: 6.475 MB / 1.298 GB, free: 7.699 MB / 0.9012 GB Notification: Performance of Backend: time 3.8e-07/1.524, allocations: 0 / 1.298 GB, free: 7.699 MB / 0.9012 GB Notification: Performance of simCode: created initialization part: time 0.0181/1.542, allocations: 13.05 MB / 1.311 GB, free: 11.17 MB / 0.9168 GB Notification: Performance of SimCode: time 0.0285/1.57, allocations: 26.51 MB / 1.337 GB, free: 0.7422 MB / 0.9324 GB Notification: Performance of Templates: time 0.4907/2.061, allocations: 254.8 MB / 1.585 GB, free: 163.1 MB / 0.9793 GB " [Timeout remaining time 658] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.Validation.FlatPlate.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.Validation.FlatPlate.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.Validation.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.098742395173758] Failed to read output from testmodel.py, exit status != 0: 2.066341763129458 2.071976156 1.394410642 Calling exit ...