Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.001594/0.001594, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002722/0.002722, allocations: 218.8 kB / 22.25 MB, free: 4.855 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.557/1.557, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 1.308/1.308, allocations: 203.5 MB / 0.5038 GB, free: 4.895 MB / 414.1 MB " [Timeout remaining time 178] 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.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [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.002152/0.002152, allocations: 75.89 kB / 0.7183 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.636/0.6382, allocations: 102 MB / 0.8179 GB, free: 29.11 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.004399/0.6426, allocations: 1.999 MB / 0.8198 GB, free: 27.78 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.006497/0.6491, allocations: 3.903 MB / 0.8236 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002936/0.6494, allocations: 1.688 kB / 0.8236 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.6507, allocations: 184.9 kB / 0.8238 GB, free: 25.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0002085/0.6509, allocations: 69.55 kB / 0.8239 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.6521, allocations: 311.7 kB / 0.8242 GB, free: 24.9 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0009249/0.6531, allocations: 393.5 kB / 0.8245 GB, free: 24.74 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.6532, allocations: 35.69 kB / 0.8246 GB, free: 24.73 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.6535, allocations: 116.1 kB / 0.8247 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.6537, allocations: 118.4 kB / 0.8248 GB, free: 24.63 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.771e-05/0.6538, allocations: 15.62 kB / 0.8248 GB, free: 24.63 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008936/0.6546, allocations: 317 kB / 0.8251 GB, free: 24.55 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001764/0.6548, allocations: 103.5 kB / 0.8252 GB, free: 24.51 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.655, allocations: 121.7 kB / 0.8253 GB, free: 24.45 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0009577/0.656, allocations: 0.5267 MB / 0.8258 GB, free: 24.26 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.656, allocations: 0 / 0.8258 GB, free: 24.26 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.553e-06/0.656, allocations: 2.125 kB / 0.8258 GB, free: 24.26 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.656, allocations: 1.375 kB / 0.8258 GB, free: 24.26 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001512/0.6575, allocations: 0.6975 MB / 0.8265 GB, free: 23.74 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.6575, allocations: 12.72 kB / 0.8265 GB, free: 23.73 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006064/0.6581, allocations: 79.44 kB / 0.8266 GB, free: 23.71 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007252/0.6589, allocations: 291.6 kB / 0.8269 GB, free: 23.5 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.6589, allocations: 8.094 kB / 0.8269 GB, free: 23.5 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.6589, allocations: 10.39 kB / 0.8269 GB, free: 23.5 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006134/0.6595, allocations: 206.3 kB / 0.8271 GB, free: 23.42 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.6595, allocations: 0 / 0.8271 GB, free: 23.42 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.6596, allocations: 5.188 kB / 0.8271 GB, free: 23.42 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.6596, allocations: 2.734 kB / 0.8271 GB, free: 23.42 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007885/0.6604, allocations: 245.9 kB / 0.8273 GB, free: 23.37 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.6615, allocations: 0.5004 MB / 0.8278 GB, free: 23.07 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/0.662, allocations: 170.2 kB / 0.828 GB, free: 23.01 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003756/0.6624, allocations: 128.7 kB / 0.8281 GB, free: 22.98 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.096e-05/0.6624, allocations: 15.67 kB / 0.8281 GB, free: 22.98 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.6624, allocations: 37.64 kB / 0.8282 GB, free: 22.94 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.6624, allocations: 0 / 0.8282 GB, free: 22.94 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.001353/0.6638, allocations: 454.8 kB / 0.8286 GB, free: 22.8 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.6638, allocations: 52.78 kB / 0.8287 GB, free: 22.74 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004938/0.6643, allocations: 421.6 kB / 0.8291 GB, free: 22.55 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.6644, allocations: 27.08 kB / 0.8291 GB, free: 22.52 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.6645, allocations: 185.7 kB / 0.8293 GB, free: 22.36 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.6645, allocations: 38.55 kB / 0.8293 GB, free: 22.33 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-05/0.6646, allocations: 40.67 kB / 0.8293 GB, free: 22.3 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.6647, allocations: 351.8 kB / 0.8297 GB, free: 21.97 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004517/0.6651, allocations: 212.8 kB / 0.8299 GB, free: 21.9 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004633/0.6656, allocations: 209.5 kB / 0.8301 GB, free: 21.83 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000946/0.6665, allocations: 367.6 kB / 0.8304 GB, free: 21.71 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.6666, allocations: 4.516 kB / 0.8304 GB, free: 21.71 MB / 0.6387 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001163/0.6677, allocations: 0.5118 MB / 0.8309 GB, free: 21.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.153e-05/0.6678, allocations: 46.72 kB / 0.831 GB, free: 21.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.6678, allocations: 0 / 0.831 GB, free: 21.46 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.6678, allocations: 1.938 kB / 0.831 GB, free: 21.46 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003736/0.6682, allocations: 43.59 kB / 0.831 GB, free: 21.46 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.6682, allocations: 5.031 kB / 0.831 GB, free: 21.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.6685, allocations: 39.17 kB / 0.8311 GB, free: 21.45 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.6686, allocations: 10.42 kB / 0.8311 GB, free: 21.45 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * 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.0002194/0.6688, allocations: 158.8 kB / 0.8312 GB, free: 21.31 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.101e-05/0.6689, allocations: 35.86 kB / 0.8313 GB, free: 21.29 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.6699, allocations: 348.6 kB / 0.8316 GB, free: 21.18 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.6699, allocations: 1.344 kB / 0.8316 GB, free: 21.18 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.6699, allocations: 1.406 kB / 0.8316 GB, free: 21.18 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.6699, allocations: 0.75 kB / 0.8316 GB, free: 21.18 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.6704, allocations: 269.7 kB / 0.8318 GB, free: 21 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.6704, allocations: 0 / 0.8318 GB, free: 21 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/0.6707, allocations: 47.98 kB / 0.8319 GB, free: 20.99 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.6707, allocations: 1.031 kB / 0.8319 GB, free: 20.99 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.6707, allocations: 7.375 kB / 0.8319 GB, free: 20.99 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.6707, allocations: 1.688 kB / 0.8319 GB, free: 20.99 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.6707, allocations: 0 / 0.8319 GB, free: 20.99 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009333/0.6717, allocations: 423.6 kB / 0.8323 GB, free: 20.78 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/0.6718, allocations: 51.39 kB / 0.8324 GB, free: 20.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.769e-05/0.6719, allocations: 9.922 kB / 0.8324 GB, free: 20.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.6722, allocations: 27.16 kB / 0.8324 GB, free: 20.74 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.667e-05/0.6723, allocations: 14.94 kB / 0.8324 GB, free: 20.74 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.6723, allocations: 5.484 kB / 0.8324 GB, free: 20.74 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000376/0.6727, allocations: 296.2 kB / 0.8327 GB, free: 20.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.6727, allocations: 0 / 0.8327 GB, free: 20.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006726/0.6733, allocations: 116.7 kB / 0.8328 GB, free: 20.59 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005546/0.6739, allocations: 177.7 kB / 0.833 GB, free: 20.47 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001168/0.6751, allocations: 462.2 kB / 0.8334 GB, free: 20.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.6751, allocations: 1.219 kB / 0.8334 GB, free: 20.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004932/0.6756, allocations: 141 kB / 0.8335 GB, free: 20.27 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007787/0.6763, allocations: 58.09 kB / 0.8336 GB, free: 20.25 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.6778, allocations: 0.6508 MB / 0.8342 GB, free: 19.89 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.678, allocations: 179.2 kB / 0.8344 GB, free: 19.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002305/0.6783, allocations: 50.06 kB / 0.8345 GB, free: 19.79 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.762e-05/0.6784, allocations: 31.61 kB / 0.8345 GB, free: 19.77 MB / 0.6387 GB Notification: Performance of SimCode: time 7.31e-07/0.6784, allocations: 1.312 kB / 0.8345 GB, free: 19.77 MB / 0.6387 GB Notification: Performance of Templates: time 0.01271/0.6911, allocations: 5.517 MB / 0.8399 GB, free: 19.22 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.9512900579720736] Failed to read output from testmodel.py, exit status != 0: 0.7004767172038555 0.7133527949999999 0.054324743 Calling exit ...