Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Physiolibrary.Fluid.Examples.MinimalCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation") translateModel(Physiolibrary.Fluid.Examples.MinimalCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1494/0.1494, allocations: 15.27 MB / 30.24 MB, free: 4.711 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009266/0.0009268, allocations: 105.6 kB / 35.25 MB, free: 3.328 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 168.6 kB / 40.34 MB, free: 7.914 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 223.3 MB / 268.6 MB, free: 8.754 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1589/0.1589, allocations: 23.39 MB / 347.3 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007947/0.0007948, allocations: 16 kB / 419.6 MB, free: 30.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1793, allocations: 60.49 MB / 480 MB, free: 2.41 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:596:7-596:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:596:7-596:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MinimalCirculation): time 0.4765/0.6559, allocations: 52.13 MB / 0.5197 GB, free: 15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01895/0.6749, allocations: 14.32 MB / 0.5337 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0018/0.6767, allocations: 34.59 kB / 0.5337 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.6777, allocations: 197.9 kB / 0.5339 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006506/0.6843, allocations: 1.394 MB / 0.5353 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008582/0.6929, allocations: 1.692 MB / 0.5369 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003808/0.6967, allocations: 1.843 MB / 0.5387 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.6978, allocations: 349.5 kB / 0.5391 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004118/0.7019, allocations: 1.009 MB / 0.54 GB, free: 14.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.7034, allocations: 0.5193 MB / 0.5405 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.7035, allocations: 31.75 kB / 0.5406 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005379/0.7089, allocations: 1.034 MB / 0.5416 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002611/0.7092, allocations: 147.5 kB / 0.5417 GB, free: 13.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000455/0.7097, allocations: 141.9 kB / 0.5419 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00284/0.7125, allocations: 1.339 MB / 0.5432 GB, free: 13.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.7125, allocations: 0 / 0.5432 GB, free: 13.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.7126, allocations: 1.031 kB / 0.5432 GB, free: 13.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.7126, allocations: 0 / 0.5432 GB, free: 13.72 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002476/0.7151, allocations: 1.059 MB / 0.5442 GB, free: 13.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.7151, allocations: 8.812 kB / 0.5442 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.7153, allocations: 63.28 kB / 0.5443 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006703/0.716, allocations: 432.2 kB / 0.5447 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/0.716, allocations: 30.38 kB / 0.5447 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.992e-05/0.7161, allocations: 48.58 kB / 0.5448 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.7171, allocations: 0.5569 MB / 0.5453 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.7171, allocations: 1.219 kB / 0.5453 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.279e-05/0.7172, allocations: 21.17 kB / 0.5453 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/0.7172, allocations: 17.12 kB / 0.5453 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.7183, allocations: 0.5007 MB / 0.5458 GB, free: 12.6 MB / 382.1 MB 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.002831/0.7211, allocations: 2.262 MB / 0.548 GB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008885/0.722, allocations: 0.5374 MB / 0.5486 GB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004942/0.7225, allocations: 274.5 kB / 0.5488 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001594/0.7241, allocations: 1.399 MB / 0.5502 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005159/0.7247, allocations: 281 kB / 0.5505 GB, free: 10.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=38): time 2.224e-06/0.7247, allocations: 3.938 kB / 0.5505 GB, free: 10.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=38): time 0.001557/0.7263, allocations: 0.7455 MB / 0.5512 GB, free: 9.934 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.7263, allocations: 57.58 kB / 0.5512 GB, free: 9.871 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000545/0.7269, allocations: 460 kB / 0.5517 GB, free: 9.758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.7269, allocations: 31.98 kB / 0.5517 GB, free: 9.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.7271, allocations: 289.4 kB / 0.552 GB, free: 9.566 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.7272, allocations: 136 kB / 0.5521 GB, free: 9.484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.7272, allocations: 11.97 kB / 0.5521 GB, free: 9.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.7274, allocations: 359.8 kB / 0.5525 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004304/0.7278, allocations: 213.9 kB / 0.5527 GB, free: 9.168 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004472/0.7282, allocations: 357.3 kB / 0.553 GB, free: 9 MB / 382.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: arteries.mass = arteries.tm_start (arteries.m_start[1] + arteries.massOffset = arteries.tm_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: veins.substanceMasses[1] = veins.m_start[1] (veins.tm_start - veins.massOffset = veins.m_start[1]) Notification: Performance of analyzeInitialSystem (initialization): time 0.002621/0.7309, allocations: 1.238 MB / 0.5542 GB, free: 8.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.7309, allocations: 3.344 kB / 0.5542 GB, free: 8.52 MB / 382.1 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: No system for the symbolic initialization was generated